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.
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.
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 )
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?