I keep getting C:\DEV-C_~1\LIB\\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16' error, then I read in the faq that I need to include main(), why ? Im making a class file and it doesnt need a main function. ::confussed::
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You have to have a main somewhere in your project, if you are just compiling a piece or file at a time, then you can ignore it, or just do what I do, write a stub main first.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I keep getting C:\DEV-C_~1\LIB\\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16' error, then I read in the faq that I need to include main(), why ? Im making a class file and it doesnt need a main function. ::confussed::
You have to have a main somewhere in your project, if you are just compiling a piece or file at a time, then you can ignore it, or just do what I do, write a stub main first.
Wayne