Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 1st, 2005, 1:55 PM   #1
vappole
Newbie
 
Join Date: Sep 2005
Posts: 4
Rep Power: 0 vappole is on a distinguished road
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
vappole is offline   Reply With Quote
Old Sep 1st, 2005, 2:39 PM   #2
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4 Klarre is on a distinguished road
You should get SDL (Simple DirectMedia Layer) www.libsdl.org
Klarre is offline   Reply With Quote
Old Sep 1st, 2005, 2:54 PM   #3
The Chosen One
Newbie
 
The Chosen One's Avatar
 
Join Date: Sep 2005
Location: Deep Within
Posts: 25
Rep Power: 0 The Chosen One is on a distinguished road
Before I answer anything, are you using Borland Turbo C++ or Borland C++?
__________________
"A dark angel of sin, preying deep from within..." - Rob Halford
The Chosen One is offline   Reply With Quote
Old Sep 1st, 2005, 3:02 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Sep 1st, 2005, 3:10 PM   #5
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
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."
Infinite Recursion is offline   Reply With Quote
Old Sep 1st, 2005, 3:15 PM   #6
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
Quote:
Originally Posted by DaWei
You can even search the future. A good recommendation will appear in the following post.
lol, ok. Bud and Lou! You definitely set that one up.
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Sep 1st, 2005, 6:11 PM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Doubt it. That's IR's standard reply to any post that goes along these lines.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 1st, 2005, 6:32 PM   #8
vappole
Newbie
 
Join Date: Sep 2005
Posts: 4
Rep Power: 0 vappole is on a distinguished road
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.
vappole is offline   Reply With Quote
Old Sep 1st, 2005, 7:06 PM   #9
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 1st, 2005, 7:56 PM   #10
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:12 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC