I made a new blank project (er... "solution") and created this source file in it:Disable "Precompiled headers" in the project settings!
#include <stdio>
int main () {
cout << "Hello World";
return 0;
}
When compiling it I got an error message saying stdafx.h was missing. When I included it I got a different error message. What am I missing
"Project|Settings|C++|Precompiled headers": None (or off).
-- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/

getting hello world program to compile
Steven Yetter
#include <stdio>
int main () {
cout << "Hello World";
return 0;
}
When compiling it I got an error message saying stdafx.h was missing. When I included it I got a different error message. What am I missing
jaortizgonzalez