I am getting an error when I am trying to link my 3 c++ files-- tut.cpp, extra.h, and extra.cpp. I get an error sayinging "undefined reference to winmain@16". If I add int main(){}
to extra.cpp, my problem is solved, but when i try and call a function from a class in extra.cpp and extra.h, nothing happens when my code is executed.
If you need the code...
tut.cpp: