Thursday, July 9, 2009

C++ game programming help?

I am using this tutorial to learn: http://www.cprogramming.com/tutorial/tut...





I copied the code onto my compiler, but it does not compile.


Is there a certain header file i need to use?





here's what's on my compiler:





#include %26lt;cstdlib%26gt;


#include %26lt;iostream%26gt;





using namespace std;





void SetMCGA() {


_AX = 0x0013;


geninterrupt (0x10);


}





int main(int argc, char *argv[])


{


memset(vga, Col, 0xffff);


SetMCGA();


system("PAUSE");


return EXIT_SUCCESS;


}.

C++ game programming help?
It might be useful to know the compiling error...

garden flowers

No comments:

Post a Comment