c:mingw/bin/../lib/gcc/mingw32/4.8.1/../../../mingw32/lib/libmingw32.a(main.o):
In function 'main': e:\p\giaw\src\pkg\mingwrt-4.0.3-1mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/crt/main.c:91: undefined reference to 'WinMain@16'
collect2.exe : error : Id returned 1 exit status
okkk... can someone translate this to any kind of language i can understand. This is a message from my compiler, and i get the c:\ part, but i dont have nothing in E: disk... C,D flash USB F:, and DVD-RW drive that havent used it in yeeeaaars. Looong before i started learning c++.
#ifndef TEST_H
#define TEST_H
#include <iostream>
usingnamespace std;
// void Sexy() // sljaka ovaj kod, bilo je potrebno samo pozvati ga.
// {cout<<"Sexy Header!"<<endl;}
class TEST{
public :
void Sexy();
};
#endif //TEST_H
Do you have a main function declared anywhere? It's either that or you chose an incorrect project type so the compiler is looking for a different signature for the main function.