You can add system("pause"); to your code before return 0;. This will pause console programs.
Type: Posts; User: Dragon
You can add system("pause"); to your code before return 0;. This will pause console programs.
No, I don't think so. I think it works with the Borland C++ Compiler (which I use) because I've used it before.
BTW, I linked in glaux.lib and it worked fine. Thanks to everyone that helped!
Thanks, I'll see if that works.
Can somebody tell me how to use texture mapping in OpenGL? I tried the tutorial on NeHe but I always get a compile error that looks something like this:
Unresolved external "auxDIBImageLoadA"...
For some reason I can't get dialogs to work right in Dev-C++, but when I used Borland's compiler it worked perfectly!
In more detail:
SetWindowText(hEdit, "text");
Replace hEdit with your own if you want.
GetWindowText(hEdit, text, 5);
The function gets the text from hEdit and stores it in text. Declare...
Dev-C++ uses, by default, the MinGW compiler system. The compiled file size is a lot larger than other compilers, and the execution speed isn't that great as well. In my opinion the Borland C++...
It compiles fine because in C++ if you don't specify a data type for a function it defaults to int.