I'm having an error in this simple program ... I get a windows warning which has the following message
"Launching SDL basic.exe has encountered a problem. The program file specified in the launch configuration does not exist."
In the console i get the following error "Undefined reference to winmain16
. I have linked the header file and a library as well...I was using code blocks and i recently changed ide to eclipse so i want your answers as detailed and simple as possible...
My OS is Windows 7 64-bit...
#include <iostream>
#include <SDL.h>
using namespace std;
int main()
{
cout << "!!Hello World!!"<< endl;
return 0;
}