Ok, this is a VERY simple program I'm trying to execute. However, at the linking stage I get an error: LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Here's the code:
Help?Code:#include <fstream.h> void main() //the program starts here { ifstream OpenFile("txt.txt"); char ch; while(!OpenFile.eof()) { OpenFile.get(ch); cout << ch; } OpenFile.close(); }