Some questions on graphics and color

OK, so I'm obviously very new to these forums, although I've lurked for a long time. Before posing my questions, I just wanted to say that my skill level with C++ is about limited to standard containers and advanced classes (inheritance, etc). I'm beginning to move onto special console functions using such things as the windows header (windows.h).
Q1: Where to begin with using graphics and imagery in C++? Is my skill level high enough to really consider this?
Q2: What is considered to be a truly standard library? (I remember reading that conio.h is not standard, which makes sense, but what about say iostream?)
Q3: More mechanical this one. Is there any way to change the console so it's printing black text on a white background? And the font?
Thank you all for your help.
1. SDL is not a bad place to start. It's great for 2D and its sister libraries (SDL_image, SDL_mixer, SDL_ttf) can help make pretty complex games. It can also be used in combination with OpenGL for 3D.
2. If it's not here, it's not standard: http://www.cplusplus.com/reference/
3.a. Yes. Browse the Windows console functions and you'll find something.
3.b. Not that I know. What would be the point of that, anyway?
A1: Whenever you want to try, if you see you can't go much far you can practice more and try again later
A2: All libraries defined by the standards. All C++ standard headers don't have the file extension, this should help you. Here are most of them: http://www.cplusplus.com/reference/
A3: Changing colors isn't difficult, changing font is.

EDIT: Slow...
Last edited on
Well, for the color, it's just because I really despise the black console. It looks so much better on white, and it fits so much better with stuff. People don't use dos anymore (although they do use command prompt) and so it seems rather out of style. (Personal taste basically.)
The font is because I don't really like the basic font. I'd prefer some nice clean Courier New like in all programming.

EDIT:
OK, so for fonts I found this, which might work:
http://msdn.microsoft.com/en-us/library/ms686200%28VS.85%29.aspx

And for console color I found this:
http://msdn.microsoft.com/en-us/library/ms682662%28VS.85%29.aspx
and maybe also this:
http://msdn.microsoft.com/en-us/library/ms682662%28VS.85%29.aspx
So how do I use windows console functions? What arguments do I need and how should I work them? I've seen a lot of code on them but it all seems infathomable.
Last edited on
So how do I use windows console functions? What arguments do I need and how should I work them? I've seen a lot of code on them but it all seems infathomable.

For the HANDLE argument pass GetStdHandle(STD_OUTPUT_HANDLE), for the others depends on the function

Well, for the color, it's just because I really despise the black console. It looks so much better on white, and it fits so much better with stuff. People don't use dos anymore (although they do use command prompt) and so it seems rather out of style. (Personal taste basically.)
The font is because I don't really like the basic font. I'd prefer some nice clean Courier New like in all programming.
You can change cmd settings if you want it to always look as you want ( ie: not only for your programs )
How do I change those settings? And will they carry over between executions of progs or command prompt?
Open the cmd window and right click on the icon in its title bar, it should give a menu in which you can select "properties" and a dialog will appear. From there you can change things and it should keep the settings
By the way, I was reading that font function's data and it said that its oldest OS to support was vista... does that mean that only vista supports its use?
Only Vista and 7, not XP or older
Topic archived. No new replies allowed.