GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Nov-2005, 12:49
eoin eoin is offline
New Member
 
Join Date: Nov 2005
Posts: 13
eoin is on a distinguished road

Graphic question in C


im doing a college project to make a Viterbi Decoder in software for bit error detections

the code for the bit error detection is no problem,but i want some kind of a graphical representation of my decoding process
basically i need to be able address pixels on the screen and to draw some simple diagrams

so any help on how to address single pixels would be great perhaps even how to make some different colours
  #2  
Old 28-Nov-2005, 20:16
alcoholic's Avatar
alcoholic alcoholic is offline
Member
 
Join Date: Nov 2005
Posts: 170
alcoholic is on a distinguished road

Re: Graphic question in C


There are standard libraries which u can use like OpenGL etc
  #3  
Old 29-Nov-2005, 10:28
eoin eoin is offline
New Member
 
Join Date: Nov 2005
Posts: 13
eoin is on a distinguished road

Re: Graphic question in C


th c compiler i have is visual c++ but it wont allow me to simply include the opengl.h file.

maybe u can suggest a better compiler i can use
  #4  
Old 29-Nov-2005, 11:09
alcoholic's Avatar
alcoholic alcoholic is offline
Member
 
Join Date: Nov 2005
Posts: 170
alcoholic is on a distinguished road

Re: Graphic question in C


I don't use openGL with VC6.0 i use DEV C++...but u can surely use it with VC6.0.....if you want to download DEV...u can download it from here
http://www.bloodshed.net/
and you can find loads of tutorial at http://www.opengl.org/
  #5  
Old 29-Nov-2005, 11:14
eoin eoin is offline
New Member
 
Join Date: Nov 2005
Posts: 13
eoin is on a distinguished road

Re: Graphic question in C


thank you

i just need to know some simple commands
ive been searching for ages on google
i hope that dev c++ is better than the c compiler i use here
this visual c compiler is really crap
  #6  
Old 30-Nov-2005, 02:28
alcoholic's Avatar
alcoholic alcoholic is offline
Member
 
Join Date: Nov 2005
Posts: 170
alcoholic is on a distinguished road

Re: Graphic question in C


Quote:
Originally Posted by eoin
i just need to know some simple commands
simple commands for ??
  #7  
Old 30-Nov-2005, 05:08
eoin eoin is offline
New Member
 
Join Date: Nov 2005
Posts: 13
eoin is on a distinguished road

Re: Graphic question in C


to draw some lines
i need to draw a diagram as my decoding process continues
i need perhaps 2 different colours for each line
similar to this



how do i open my applications in a non dos type window output
  #8  
Old 30-Nov-2005, 06:22
Blake's Avatar
Blake Blake is offline
Member
 
Join Date: Nov 2005
Posts: 172
Blake will become famous soon enough

Re: Graphic question in C


I would recommend glut.
  #9  
Old 30-Nov-2005, 06:28
alcoholic's Avatar
alcoholic alcoholic is offline
Member
 
Join Date: Nov 2005
Posts: 170
alcoholic is on a distinguished road

Re: Graphic question in C


This site will make you start doing graphics stuff easily
http://www.zeuscmd.com/
  #10  
Old 30-Nov-2005, 06:33
alcoholic's Avatar
alcoholic alcoholic is offline
Member
 
Join Date: Nov 2005
Posts: 170
alcoholic is on a distinguished road

Re: Graphic question in C


Quote:
Originally Posted by Blake
I would recommend glut.
GLUT allows you to make a window very easily...instead of using complex Win32 programming(though it is more powerful)...by using GLUT you can concentrate more on learning libraries like OpenGL...the link which i provided in my previous post explains things from basics...read first about glut tutorial and then go to OpenGl tutorial...once you are clear with the basics you can move to more advanced tutorials
 
 

Recent GIDBlogHalfway done! by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
non-member function question crq C++ Forum 1 03-Feb-2005 21:59
Simple question on arrays--please help! brookeville C++ Forum 16 17-Nov-2004 23:23
Repetition structure problem and question brookeville C++ Forum 17 29-Oct-2004 17:48
question of practice magiccreative C++ Forum 1 06-Feb-2004 07:17
a C input question tmike C Programming Language 1 16-Sep-2003 02:31

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 11:20.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.