Ah right, ive just fully reinstalled dark GDK and im just a tad lost with DOS programs, i know how to get all the GDK stuff up, but how do i start a new code for a dos program, i go to win32 and select consolo app, ok then i type in
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
and i get the following errors.
1>------ Build started: Project: test2, Configuration: Debug Win32 ------
1>Compiling...
1>stdafx.cpp
1>Compiling...
1>test2.cpp
1>d:\documents and settings\steve\my documents\visual studio 2008\projects\test2\test2\test2.cpp(1) : warning C4627: '#include <iostream>': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>d:\documents and settings\steve\my documents\visual studio 2008\projects\test2\test2\test2.cpp(9) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
1>Build log was saved at "file://d:\Documents and Settings\Steve\My Documents\Visual Studio 2008\Projects\test2\test2\Debug\BuildLog.htm"
1>test2 - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Can any one tell me what im doing wrong? im pretty eagar to start programming c++