Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

C ASCII Console graphics library?

console ascii

  • Please log in to reply
4 replies to this topic

#1 kramed

kramed

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 03 July 2008 - 08:26 AM

Hi there,

I was wondering if anybody here knows of a ascii graphics library for C. What I need to do is draw simple shapes using ascii characters like lines and a large circle (I am developing a hard drive and disk management simulation for a course). I would like to have the shapes change based on input so I would like to get a library to do the drawing for me.

I would love to find something that will compile with GCC on both Windows and UNIX. Is there such a thing?

Thanks
  • 0

#2 v0id

v0id

    Retired

  • Retired Mod
  • PipPipPipPipPipPipPipPip
  • 2313 posts

Posted 03 July 2008 - 08:53 AM

ncurses.
  • 0
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?

#3 Aereshaa

Aereshaa

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 638 posts

Posted 03 July 2008 - 02:22 PM

And here is a guide to it.
  • 0

#4 v0id

v0id

    Retired

  • Retired Mod
  • PipPipPipPipPipPipPipPip
  • 2313 posts

Posted 03 July 2008 - 09:33 PM

And the above in PDF format, and here is yet another guide, and another, and another.
  • 0
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?

#5 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 11 July 2008 - 12:01 PM

EDIT: Ignore this, I thought it was something else. Never mind.

Does anyone know how these work? Do they use WinAPI or just find and call graphics drivers and stuff?
  • 0





Also tagged with one or more of these keywords: console, ascii

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download