Painful Steps with VC++ 2005 Express beta Redux

Hello.

Just the other day I picked up the 87 meg VC++ 2005 Express beta from the website and now I'm ready to start making my way into the programming world. So I do a few searches through the web and come up with a starter's guide using VC++! How nice of About.com to supply an article like that. Not too soon after this discovery I was regretting my decision to use VC++.

You see, I run into the same problem every time, and I haven't been able to find the answer to it. I'm attempting to make the simple "Hello World" program that everyone starts off with, but I can't get the .exe to build! Excuse me if I seem ignorant of the basics, because - well - I am ignorant! I searched these forums and found some helpful hotkeys such as the Build (F7) and then Run (Control+F5). Now I've gotten everything ready to go, but I can't seem to get it to work. Can someone help me out here? The About.com guide is a few versions old, and isn't helping. This is what happens:

Wrote the code. I did an F7 (Build Solution), and from here I'm slightly confused. I haven't seen the actual command to run the .exe for the program, so I goto Debug -> Start Without Debugging. An error pops up letting me know that VC++ can't find the filename and gives the filepath it chose. This file path usually has a directory titled 'Release' or 'Debug' and I Don't know why it would create those. I check my folders myself and there is only a logfile in that path. Does the Configuration Manager have something to do with this?

I appreciate your help.

[1552 byte] By [Shaundakahl] at [2007-12-16]
# 1
Hi,
I guess your not using the latest VC++ Express coz it's not 87mb... (you must be using beta 1) the latest is beta 2... which bloated its installer into 500+ mb...
whew... but i guess your sample would work... Could you try instaling beta 2 and see what happens?

heres the link:
http://lab.msdn.microsoft.com/express/visualc/default.aspx
cheers,
Paul June A. Domag

PaulDomag at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2
Alright, this is the version that I have when I pull up the 'About VC++" product info. 'Version 8.0.50215.44 (beta2.050215-4400)'. The space above the product information is a graphic with the MS VC++ 2005 [BETA 2] Express Edition tag.

The link you posted is where I got the VC++ express. So I got beta 2 but I still don't know how this damn thing works. I'll begin crawling through the heinous help contents again. I hope you can help me out.

Shaundakahl at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3
Hi,

Is your code in a project? The only way VC++ builds executables from the IDE is within a project. If you only created a new file (e.g. foo.cpp) then hitting F7 will not produce the executable you need. After presseing F7, you should look at the output information given in the lower window: it will specify whether it created an executable. In addition, a buildlog is generated with more information about the build process.

Thanks,

--
Boris Jabes, Visual C++ Team
This post is provided "AS IS" and confers no rights

BorisJabes at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...
# 4
Hi,
Its CTRL+SHIFT+B to build a project...
Keep me posted if you still experience other problems...
Why wont you try posting your code...
cheers,
Paul June A. Domag
PaulDomag at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...
# 5
First of all, thanks for taking the time out to help a newb in the field. Smile

It turned out the problem was - as I suspected - an error on my part. I would start an new empty project, because I would be suppling the .cpp for the solution. Once the new project was made, I would do a File -> New -> .cpp. I think that was the problem. I dun know if it was including that newly created file inside the project. I was tinkering around and I seen the little button "Add Item." Well, holy ***. Smile Hehe. I erased all the old work and started anew; added a .cpp, and built and ran the build. Everything worked out great.

Thanks again, Boris and Paul.

Shaundakahl at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...