![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Sep 2005
Posts: 4
Rep Power: 0
![]() |
question on c++ graphics
hi, i am new to this and i have a question about c++. i use it mainly for mathematical routines and i'm using a basic borland compiler for dos, which serves my purposes. however now i need to make some graphics (graph complex functions etc.) and i don't think graphics are supported at all by this version (i looked in the libraries to find some graph.h file but there was nothing). i need help in either of the following ways: if there exist built in basic graphic functions please tell me what they are, if not could you direct me to a compiler which incorporates such functions and show me how to get it. thanks
|
|
|
|
|
|
#2 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
You should get SDL (Simple DirectMedia Layer) www.libsdl.org
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Sep 2005
Location: Deep Within
Posts: 25
Rep Power: 0
![]() |
Before I answer anything, are you using Borland Turbo C++ or Borland C++?
__________________
"A dark angel of sin, preying deep from within..." - Rob Halford |
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Hell, I won't wait. Turbo C used to be really nice, but so did the Model T. If you're using it, toss it in the trash and get another compiler. There are some good, free ones. Looking through the forum for compiler recommendations and graphics library recommendations will turn up a number of cogent suggestions. Just use the search feature with some appropriate keywords. You can even search the future. A good recommendation will appear in the following post.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() ![]() |
Dev-C++ with OpenGL
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#6 | |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
Quote:
__________________
-Steven "Is this a piece of your brain?" - Basil Fawlty |
|
|
|
|
|
|
#7 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Doubt it. That's IR's standard reply to any post that goes along these lines.
|
|
|
|
|
|
#8 |
|
Newbie
Join Date: Sep 2005
Posts: 4
Rep Power: 0
![]() |
Ok, I know you're all programming wizards, but I'm not - I'm just a math expert that uses programming merely for that. Is there a compiler that is not so different from the one I'm using (the Borland, not Turbo btw) so I don't have to spend days learning new routines and syntax just to write a simple prog?
I appreciate your help anyways. I'm going to try the SDL and Dev-C, thanks to those who suggested. |
|
|
|
|
|
#9 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
The compiler doesn't define the syntax - it's exactly the same across all of them (or should be, anyway - Microsoft does like to be different). Check out Dev-C++ - you can get it from www.bloodshed.net.
|
|
|
|
|
|
#10 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Nahhh, Stevens, I just happened to notice earlier that the "edited by at blah" line wasn't appearing. When I came back and saw IR's post, I couldn't resist. He's an innocent victim.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|