I know Turbo C++ is ancient, but my daughter's school uses it, and I have to help her.
I am using Turbo C++ 4.5 in a Windows 7 Virtual Machine, which is running inside Windows 8.1.
For any project, when clicking "Build all", it gives the error:
"Undefined symbol OwlMain (int, char far*, far*) in library file c:\tcwin45\lib\owlwi.lib in module winmain"
I even created a new project with just one source file with the minimal code as follows:
void main () {
// return;
}
Even then, I get the same error as above.
I don't understand the reason for this error. Any help will be highly appreciated.
It appears that you are pulling in the OWL library (a library for creating GUIs). This probably means that you created your project with the wrong type. You need a simple, bare-bones console project.
Also, your school is doing your daughter a massive disservice by teaching outdated technology and (probably) methods. C++ has changed a lot since that compiler, and so the material she learns will only be partially applicable in the real world. You should consider raising a complaint.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With