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.
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.
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.