Can images be displayed in console?

I need to figure that out now. Or I might just have to start learning GUI
Yes, but you are better of just learning GUI. (The console is not careful to preserve anything you draw there with GDI.)
alright. I think I'm OKAY at console, so I think I'll move on to GUI. Any good tutorials out there? Simaler to thenewboston maybe?
Get a book. Internet videos are lacking in quality and quantity of information. I would read your way through one of the C++ Primers, the C++ black book or some other well known title. You can start with Qt or the MFC or whatever your library of choice is, but if you want a solid foundation on the language you should definitely get a good book.
Getting started with graphics and GUIs can be pretty tricky as sadly there is no standard commands for draw pixels to the screen. I'd recommend looking into SFML or SDL.
If you choose to learn Qt this is a pretty good tutorial:
http://doc.qt.nokia.com/latest/widgets-tutorial.html

It also has some example codes, I'm currently learning Qt, and everything is very clean and object oriented, and it is cross platform.
LBEaston, SFML and SDL aren't for making GUI's....
Yes SFML and SDL are for graphics and event handling. Making them a fair bit better for making GUI's than the console.
Making them a fair bit better for making GUI's than the console.

Nothing is "better" at making GUI's than anything else. There are frameworks and libraries for making GUI's and there are frameworks and libraries that aren't. SDL and SFML are multimedia libraries. Libraries like Qt are for making Graphical User Interfaces.

http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
http://en.wikipedia.org/wiki/Qt_(framework)
Last edited on
Sorry I decided to mention them as the original question was specifically about displaying images.
Last edited on
Touche :o
I downloaded QT and the QT editor thing, and QT seems MUCH easier then the GUI library supplied with codeblocks.
You could always convert the image to ascii art and then display that !?!?!? :-)

This article discusses how to achieve this aim, inc. some C# snippets, which should be easy enough to port.

Linq to ASCII Art
http://blogs.msdn.com/b/wesdyer/archive/2007/02/23/linq-to-ascii-art.aspx

There might be more complete examples about, but I didn't google that far!
Topic archived. No new replies allowed.