Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 9th, 2006, 8:24 AM   #1
swedish_dude
Newbie
 
swedish_dude's Avatar
 
Join Date: Feb 2006
Location: Southwest of Sweden
Posts: 7
Rep Power: 0 swedish_dude is on a distinguished road
Send a message via MSN to swedish_dude
Exclamation Trouble with Visual C++ 2005 Express Edition installation

Well, I've got a bit of a problem. I downloaded Microsoft's Visual C++ 2005 Express Edition from their website and started the setup. I got to the point when The Installation Wizard were supposed to install Microsoft .Net Framework 2.0. When it was just about to start, I got this message:


So I checked around on the website for the program and read that you have to remove Microsoft .Net Framework 2.0 from your computer to allow the Installation Wizard reinstall it. I didn't have 2.0 but 1.1, so I thought, maybe 1.1 also had to be removed? Yeah, so I uninstalled it and started the Visual C++ EE setup, but the problem were still there.

What can I do? Do you know any better website to download it from?

Help!
__________________
When I'm grown and smart, I'll figure something smart to post here.
swedish_dude is offline   Reply With Quote
Old Feb 9th, 2006, 9:53 AM   #2
zorin
Hobbyist Programmer
 
Join Date: Apr 2005
Posts: 218
Rep Power: 4 zorin is on a distinguished road
You will need the .NET framework 2.0 installed first before you install Visual C++ 2005. Install the .NET framework 1.1 just to be sure. The only other problem I think it might be is that you haven't restarted your computer before attempting the install. My advice is to completly uninstall the .NET framework and restart your computer, then install the .NET framework 2.0 and restart again, then install visual C++ 2005 and that should do it.
zorin is offline   Reply With Quote
Old Feb 9th, 2006, 10:25 AM   #3
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
Microsoft Visual C++ 2005 Express installation should automatically install the .NET framework, that's what it did at my computer.
Polyphemus_ is offline   Reply With Quote
Old Feb 9th, 2006, 2:58 PM   #4
swedish_dude
Newbie
 
swedish_dude's Avatar
 
Join Date: Feb 2006
Location: Southwest of Sweden
Posts: 7
Rep Power: 0 swedish_dude is on a distinguished road
Send a message via MSN to swedish_dude
Yeah, that's what it want to do on my installation to. So you say I'm just gonna restart the computer and try again?
__________________
When I'm grown and smart, I'll figure something smart to post here.
swedish_dude is offline   Reply With Quote
Old Feb 9th, 2006, 3:18 PM   #5
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 375
Rep Power: 0 King is an unknown quantity at this point
Do exactly what zorin said. It is crashing when it tries to install the framwork, so if it is allready have installed it will skip that part and finish the install properly.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Feb 9th, 2006, 4:20 PM   #6
swedish_dude
Newbie
 
swedish_dude's Avatar
 
Join Date: Feb 2006
Location: Southwest of Sweden
Posts: 7
Rep Power: 0 swedish_dude is on a distinguished road
Send a message via MSN to swedish_dude
Ok, I've got it installed now. Anyone know any good Visual C++ tutorials?
__________________
When I'm grown and smart, I'll figure something smart to post here.
swedish_dude is offline   Reply With Quote
Old Feb 9th, 2006, 4:24 PM   #7
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
You mean how to use the IDE? It is really simple, start a new project, create a main.cpp file, and start writing!
Polyphemus_ is offline   Reply With Quote
Old Feb 9th, 2006, 4:50 PM   #8
swedish_dude
Newbie
 
swedish_dude's Avatar
 
Join Date: Feb 2006
Location: Southwest of Sweden
Posts: 7
Rep Power: 0 swedish_dude is on a distinguished road
Send a message via MSN to swedish_dude
ok, thx. But I have a question... What does the header and the cpp files do? How do they work and how are they used?
__________________
When I'm grown and smart, I'll figure something smart to post here.
swedish_dude is offline   Reply With Quote
Old Feb 9th, 2006, 4:59 PM   #9
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
This question was just answered last week, but we'll hit it again. A header (.h, or for C++ headers, no extension) file contains declarations, but not definitions. Why? Because the purpose of header files is to declare common things that might be used for a number of source files. Header files are 'included' in the source (.cpp) file. This means that when the compiler is run, it first preprocesses the file. This means that the header file is actually copied and pasted into the source file. Macros and definitions are expanded. Things beginning with '#' are preprocessor definitions. When all that has been done, the resulting file is then compiled. If an application consists of more than one source file ('real' applications usually do), each source file has to be preprocessed and compiled. At that point, one has a lot of object files that fit together like a puzzle. Common elements are only referred to by labels. It is the province of the linker to resolve those common references and see that they refer to the same actual (often relocatable) memory addresses. It does that and produces the final executable file. Sometimes (not usually in normal 'desktop' PCs) there is an additional locate process which prepares the executable.

Some header files refer to other header files. One usually puts "guard" statements in the header file to prevent it from being included more than once in any given source file.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Feb 18th, 2006, 7:31 AM   #10
swedish_dude
Newbie
 
swedish_dude's Avatar
 
Join Date: Feb 2006
Location: Southwest of Sweden
Posts: 7
Rep Power: 0 swedish_dude is on a distinguished road
Send a message via MSN to swedish_dude
Ok, thanks DaWei!
__________________
When I'm grown and smart, I'll figure something smart to post here.
swedish_dude is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:13 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC