unresolved external simbol main

i’m having problem running most of my download program in visual c++…when i compile the program , an error message appear…it said “unresolved external symbol _main”…please help me…

this is absolutely NO openGL related question… next time post in a general coding forum or better read a FAQ

every (console) program must have a main() function, it’s the entry point of the program

The most simple, do

Choose link tab
Change the line “/subsystem:console” en “/subsystem:windows”