Building & Debugging

Hi there,

I got a question. I'm currently learning Visual C++ in school. I'm using Visual Studio C++ 2005 Express Edition which I've downloaded from the website not long. I typed out a simple program and try.

However, upon building solution (Build>Build Solution), I get:

========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========

Only if I rebuild solution (Build>Rebuild Solution), I get:

Rebuild All started: Project: Trial, Configuration: Debug Win32

Deleting intermediate and output files for project 'Trial', configuration 'Debug|Win32'

Trial - up-to-date

========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

But when I tried to try to debug (Debug>Start Debugging), I get an error prompt saying the system cannot find the .exe file specified.

Is there something missing which I didnt install?

Please help. Thanks.

[970 byte] By [Quek] at [2008-2-4]
# 1
Seams that there is no file in your project.
Usually if a c++ file is part of the project he should show some compile actions.
MartinRichter at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C++ 2005 Express Edition...
# 2
Hi there,

So how should I go about if I want to build the solution and start debugging? I need to know if I have correctly did the programming as I'm currently learning Visual C++ as part of my school work?

Quek at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C++ 2005 Express Edition...
# 3
You have to learn the first steps how to create and manage a project. Even if you have 1 single file you have to create a project and make this file part of it, or easier to create the file inside/as part of the project.
MartinRichter at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C++ 2005 Express Edition...
# 4
Hi there,

Oki, I know where is my mistake already. Thanks for the great help.

Quek at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C++ 2005 Express Edition...