The C and C++ languages do not have native graphical capabilities. To do things other than bar graphs oriented either horizonally or vertically with the bar made up of a series of characters, (that is histogram), you need to use a third party library such as Windows API or even more sophisticated OpenGL or DirectX.
Example of horizontal histogram to indicate results of poll indicated 60% for option A and 40% for option B using the asterix char:
A ******
B ****
and vertically
*
*
* *
* *
* *
* *
A B
Reputation Points: 718
Solved Threads: 373
Nearly a Posting Maven
Offline 2,253 posts
since Jul 2005