How you can draw things with c++ using colors or images? I have no idea:(
Printable View
How you can draw things with c++ using colors or images? I have no idea:(
You can either learn to use windows or something else.
Try searching wih google for windows programming tutorials for c++.
First the bad news: There are no colors or graphics in ANSI/ISO standard C++. And, there is no sound or mouse either. :(
The good news: Your computer probably can display colors and graphics, and your compiler probably includes "extra" libraries to include them in your programs. And, there are 3rd-party libraries such as OpenGL that might work with your compiler.
Assuming you're running Windows and that you have a Windows compiler (one capable of making Windows programs), there are simple functions that allow you to display common shapes or display text in various fonts and colors.
A little more bad news: It takes about two pages of "overhead" code to create a window. (Windows programming is NOT for beginners.)
Check out the Forger's Windows Programming Tutorial.
Don't be so cruel on him, he's just a beginner and probably doesn'tQuote:
Originally Posted by DougDbug
know anything about libraries, headers, APIs, ...
I know what he means, he doesn't have to say it properly in order for me to understand it