Hey guys,
I'm trying to get my code to compile. I have 3 files: a header file, a cpp file for my main function and another cpp file for my other functions.
When I try to compile my cpp function file, I get the error Undefined reference to 'WinMain@16 and when I try to compile my main function file I get undefined reference to function name.
I am using code blocks.
daldrome 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.