![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2008
Posts: 3
Rep Power: 0
![]() |
drawing in C
I have to draw the graphics of the SIN() and COS() functions using C. If anyone can help, please answer here, so i can give some more details.
|
|
|
|
|
|
#2 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 600
Rep Power: 4
![]() |
Re: drawing in C
depends on the operating system. If you are using MS-Windows/DOS then dig up an ancient copy of TurboC which makes drawing pretty easy. Here are a few tutorials -- never used them so I don't know if they are any good or not.
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2008
Posts: 3
Rep Power: 0
![]() |
Re: drawing in C
thanks for the quick response, but i have to do it in Visual Studio 6. and i already saw these tutorials
The main thing is that i need to do something like:a = A*sin(wt + f); b = B*cos(wt + f); and then draw these graphics on screen. |
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 579
Rep Power: 5
![]() |
Re: drawing in C
You could do this using a library such as SDL (Simple Direct Media Layer), which would also make it portable to other platforms
![]()
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Oct 2008
Posts: 3
Rep Power: 0
![]() |
Re: drawing in C
thanks for the advice, i'll google this up. if i have any more questions i'll post them here
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drawing Trees in with Swing | hoffmandirt | Java | 2 | Oct 1st, 2008 2:58 AM |
| Drawing shapes | venkatramasamy | ASP.NET | 0 | Dec 19th, 2007 11:22 PM |
| Drawing in console (UNIX) | Wizard1988 | C | 2 | Nov 15th, 2007 2:06 PM |
| Drawing To ImageList | HackeZ | Visual Basic | 0 | Dec 19th, 2005 1:17 PM |
| Keep Drawing Pixels without previous ones cleared. | JavaMan | Java | 4 | Oct 27th, 2005 8:43 PM |