Try compiling this...
Code:
#include <iostream>
#include <stdlib.h>
#include <string>
using namespace std;
int main()
{
/*
//Coutndown 10 to 0
double countDown;
for( countDown = 10; countDown >= 0; countDown-- )
{
cout << countDown << endl;
}
system("PAUSE");
*/
//Name Printer
string name;
cout << "After you press enter please Type your name witout spaces and press enter again" << endl;
system("PAUSE");
system("cls");
cin >> name;
cout << "Your Name Is " << name << endl;
system("PAUSE");
system("cls");
cout << "How GAY is that!" << endl;
system("PAUSE");
return 0;
} [br]Posted on: June 01, 2007, 01:00:43 AM_________________________________________________ Code:
--------------------Configuration: scribble4 - Win32 Debug--------------------
Compiling...
main.cpp
c:\program files\microsoft visual studio\myprojects\scribble4\main.cpp(7) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
main.obj - 1 error(s), 0 warning(s)
Also just thinking, Code:
while looking for precompiled header
also sounds like in your project settings, your using precompiled headers. Try changing the settings there also. Worst comes ot worst, speak to me on mSn tonight and send me your project, i'll take a look.
Try the attached
Bookmarks