Hi,
I am a C++ novice having worked with it for only a short while years ago. I now have been given a c++ file that runs a simple racing timing application (DOS based). I am trying to compile it now using Borland C++ compiler and get the error (plus many more but all relate to this one):
Error E2450 test.cpp 63: Undefined structure 'REGS'
Error E2450 test.cpp 63: Undefined structure 'REGS'
The line it refers to is simply:
union REGS reg;
I am unsure what union or reg is in C++
the command line I use to compile is:
bcc32 -Ld:\borland\bcc55\lib -Id:\borland\BCC55\include test.cpp
Any ideas why it is having a problem with this line?
I am a C++ novice having worked with it for only a short while years ago. I now have been given a c++ file that runs a simple racing timing application (DOS based). I am trying to compile it now using Borland C++ compiler and get the error (plus many more but all relate to this one):
Error E2450 test.cpp 63: Undefined structure 'REGS'
Error E2450 test.cpp 63: Undefined structure 'REGS'
The line it refers to is simply:
union REGS reg;
I am unsure what union or reg is in C++
the command line I use to compile is:
bcc32 -Ld:\borland\bcc55\lib -Id:\borland\BCC55\include test.cpp
Any ideas why it is having a problem with this line?