Hi everybody,
I want to learn drawing a line, circle e.t. and writing a text anywhere on screen. Can you help me, please?
My compiler is M.Visual C++.
thanks in advance,
Hi everybody,
I want to learn drawing a line, circle e.t. and writing a text anywhere on screen. Can you help me, please?
My compiler is M.Visual C++.
thanks in advance,
http://cboard.cprogramming.com/showthread.php?t=65810
Still the same answer - so stop asking the same questions already.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Try OpenGL. It's portable and very nice. Learn how to use it from here. In my opinion, this is the best book there is to learn OpenGL with...of course, I want to be a game programmer, so of course I think that.
OpenGL has become the standard for graphics, and a good portion of video game developers (probably) use it for graphics routines since it can accomplish more (graphics wise) than DirectX...and it's more portable too.
Last edited by Krak; 05-30-2005 at 09:29 AM.
krak, those are some good references, but i have a question..
all the tutorials i have seen #include glaux.h, which doesn't seem to come with devcpp, also, my google searches always return results about 'downloading' source code that uses 'glaux.h', where can i download this library?
joecaveman, you should leave DevC++ and move on to something alittle more professional, like Visual C++ and Borland C++ 5.5 (my love )
they have what you're looking for.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
There is nothing unprofessional about a good strong freeware compiler like Dev-C++(gcc). I prefer to use it over my copy of VC++6 and BCB6.
joecaveman: Go to tools -> Check for Updates/Packages
You will find glaux in there. However I recomend using OpenIL to load images instead.
I like Dev-C++...It's much more light-weight than the enormous Visual-C++...and it does its job just as well. You can have it downloaded, installed, and running within one minute, but downloading and installing MSVC++ takes ages.
Last edited by Krak; 05-30-2005 at 10:10 PM.
Thanks evrybody for your advice.
Best wishes,
I agree DevC++ is nice, but as you said it yourself, it's light weighted.
for example, goodluck finding glaux.h there.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
I think you can download glaux.h for Dev-C++. Don't ask me where, I saw it somewhere on the game programming board.
what i'm trying to say is why bother? I mean I like DevC++, it was one of my first compilers, and I still prefer to use their old IDE, but I compile with Borland, which is also free!
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
That's a good idea. Can you set up Dev-C++ to use Borland? I know you can use Cygwin instead of Mingw.
That's not what i meant.
I use the DevC++'s old IDE because it's one of the only IDEs left that don't put tabs instead of spaces, so i can edit the code later on with any other IDE and it will look ok, and the code won't shift left and right!
So what I do is write the code in DevC++'s IDE, and then compile it with Borland C++ 5.5 command line, using the makefile!
But if you want the IDE to compile with borland by a click of a button, you can reverse engeneer DevC++ to make it run borland's make command-line program on a local makefile.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
Yes, I use the old version too. I think it's version 4.
Just wondering how you did it. That's how I program in Perl.
i didn't actually reverse eng. DevC++, i'm pretty much sure it could be done, i just don't see the need to work hard to make it compile by a press of a button...
what? that you compile the perl code with the command line?!That's how I program in Perl
Well, you have to! Perl is a script language, you need to "re-compile" it every time you run it.
Last edited by Devil Panther; 05-31-2005 at 12:24 PM.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.