i swear ive used this before, and its worked and now it doesnt and i cant figure out why it wont work... here is all i have, just to test it...
#include <iostream>
#include <stdilb.h>
#include <time.h>
void main()
{
srand((unsigned)time( NULL ));
cout << rand() << endl << rand() << endl << rand() endl;
}
--------------------Configuration: bah - Win32 Debug--------------------
Compiling...
bah.cpp
c:\program files\microsoft visual studio\my projects\bah\bah.cpp(10) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
bah.exe - 1 error(s), 0 warning(s)
could the problem be in my time.h file? why itd be messed up is beyond me... but its not working and i KNOW it used to... grrr...
#include <iostream>
#include <stdilb.h>
#include <time.h>
void main()
{
srand((unsigned)time( NULL ));
cout << rand() << endl << rand() << endl << rand() endl;
}
--------------------Configuration: bah - Win32 Debug--------------------
Compiling...
bah.cpp
c:\program files\microsoft visual studio\my projects\bah\bah.cpp(10) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
bah.exe - 1 error(s), 0 warning(s)
could the problem be in my time.h file? why itd be messed up is beyond me... but its not working and i KNOW it used to... grrr...