Hey! I am a reasonable C++ programmer, but I do not know anything about outputting diagrams. I was wondering if it is possible to output shapes/lines/graphs/ other diagrams, to the console, when running a programming? For instance, could I establish a "graph," set two points and draw a line between them? I do not have any specific program in which I need to use this, however, I was merely wondering if it is possible, and if so, how?
Thanks!
P.S. In case this is important, I am running Mac OSX, and Xcode 3.
Well, openGL is what you can always go for... its lil bit hard at the begginig but u'll enjoy as it ages...
meanwhile to keepup you can also use libraries such as SFML,MiniGL,emWin...
As you just want to draw some basic shapes, lines etc ... so any GUI library can also be good to start with. Although more than intermediate knowledge of c++ is required.
Doing opengl for basic graphics would be more complex than you will get something out of it.
May be you can have a look at Qt, wxWidgets, gtk etc etc.. Qt is cross platform easy to use on windows.. wxwidgets is cross platform but I don't know if a setup comes for installation on windows. gtk would be difficult to start on windows.
Some people have a few initial setup videos with SFML 2.0, but ultimately they are avoidable if you build the library from the source yourself (not as difficult as it might sound).
SFML is cross platform; the same code should build on Windows, Ubuntu and Mac with a recompile (and a recompile of the SFML libraries) on the new platform.
Programmer3 wrote:
when you say non-console programming, what exactly are you referring to?
Your program will run in a GUI window rather than in a console. SFML makes the creation of this window extremely easy, and it also has functions for drawing basic shapes.