![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
|
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. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Apr 2005
Posts: 218
Rep Power: 4
![]() |
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.
|
|
|
|
|
|
#3 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Microsoft Visual C++ 2005 Express installation should automatically install the .NET framework, that's what it did at my computer.
|
|
|
|
|
|
#4 |
|
Newbie
|
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. |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 375
Rep Power: 0
![]() |
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! |
|
|
|
|
|
#6 |
|
Newbie
|
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. |
|
|
|
|
|
#7 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
You mean how to use the IDE? It is really simple, start a new project, create a main.cpp file, and start writing!
|
|
|
|
|
|
#8 |
|
Newbie
|
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. |
|
|
|
|
|
#9 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#10 |
|
Newbie
|
Ok, thanks DaWei!
__________________
When I'm grown and smart, I'll figure something smart to post here. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|