Unable to compile, debug & release...

ummm...i am using Visual C++ 2008 - Express Edition.
and...i can compile/release in the [Dev C++] program.
why i couldn't do it in VC 2008?
Guide me please.

Screenshot: http://i496.photobucket.com/albums/rr327/imlun/Help-1.png
Are you sure you have your paths set up right? It looks like you are building in a different directory then you are trying to run stuff in.
Paths? in System Enviroments?
or the path [My Documents/Visual Studio]
...or another one...[C:/program files/visual studio]?
There is a possibility it is not doing the linking stage.
Do Rebuild Solution command from the build menu.
Look at the build ouput window while it is doing this. You should see something like this:
------ Rebuild All started: Project: testing_001, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'testing_001', configuration 'Debug|Win32'
Compiling...
stdafx.cpp
Compiling...
grocery.cpp
scrap.cpp
some_class.cpp
testing_001.cpp
k:\programming\projects\msvc\testing_001\testing_001.cpp(115) : warning C4101: 'bclass' : unreferenced local variable
vector_out.cpp
Generating Code...
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
Embedding manifest...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://k:\Programming\Projects\msvc\testing_001\Debug\BuildLog.htm"
testing_001 - 0 error(s), 1 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========


If you don't see linking..... being carried out, then your exe is not being created.
I also use Visual C++ 2008 - Express Edition

For some reason, when creating the project, you have to ask it to create a project with a "Precompiled header" when the Win32 Application wizard shows up by clicking "Application Settings" on the left hand side.

You can then delete all the rubbish in the text file as long as you leave in
#include "stdafx.h" at the top.

Don't ask me why though
Topic archived. No new replies allowed.