What all do you need to do (if it is possible) to make djgpp programs run with VC++...
is it a simple matter of setting up the project right?
Or is it more complicated than that?
it looks like standard C++ to me, but I don't use VC++ very often... Mostly VB
I made a blank console 32 app...
added the files to the project... then tried to compile it...
When I try to compile it I get a handful of errors... Like:
error C2143: syntax error : missing ';' before '['
unsigned char *plasma1 = new (unsigned char)[256000];
error C2632: 'long' followed by 'long' is illegal
long long startTime = timer->getCount(), frameCount = 0, currentTime;
error C2065: 'uclock' : undeclared identifier
startTime = uclock();
...which is supposed to be here...
#include <time.h> // has the uclock() we need
...is this a djgpp specific function?
fatal error C1083: Cannot open include file: 'dpmi.h': No such file or directory
#include <dpmi.h>
...is this a djgpp specific file?
The reason I want to use VC++ is because I can't get DJGPP programs to run on windows XP, if anyone can tell me how I can make them run, I would appreciate it.
Thnx - Josh
Have Fun, Be Young... Code BASIC
-Josh Stribling
is it a simple matter of setting up the project right?
Or is it more complicated than that?
it looks like standard C++ to me, but I don't use VC++ very often... Mostly VB
I made a blank console 32 app...
added the files to the project... then tried to compile it...
When I try to compile it I get a handful of errors... Like:
error C2143: syntax error : missing ';' before '['
unsigned char *plasma1 = new (unsigned char)[256000];
error C2632: 'long' followed by 'long' is illegal
long long startTime = timer->getCount(), frameCount = 0, currentTime;
error C2065: 'uclock' : undeclared identifier
startTime = uclock();
...which is supposed to be here...
#include <time.h> // has the uclock() we need
...is this a djgpp specific function?
fatal error C1083: Cannot open include file: 'dpmi.h': No such file or directory
#include <dpmi.h>
...is this a djgpp specific file?
The reason I want to use VC++ is because I can't get DJGPP programs to run on windows XP, if anyone can tell me how I can make them run, I would appreciate it.
Thnx - Josh
Have Fun, Be Young... Code BASIC
-Josh Stribling
