Want this question answered?
C++ has no built-in function to draw lines, nor indeed to perform any type of graphics output. The standard library is designed to be as generic as possible, and is therefore capable of supporting all platforms using text output only. Graphics output is obviously possible, but it is platform-specific so you will need a graphics API that provides functions that are specific to your operating system and/or hardware.
Sure.
5+4+5+4
std::string::substr();
Yes, this is possible.
Same as you do with any text editor: hit the spacebar.
Twice the (width plus length)
Sorry, it's impossible to draw with a keyboard!
Download and install the WinBGIM Devpack. Once installed, you can include graphics.h to draw graphics.
C++ has nothing to do with pixels. Your question may be related with 'Windows programming' or 'DOS programming' or 'X Window System programming'.
void line(int length) { for(int i=0; i<length; ++i) std::cout<<'_'; std::cout<<std::endl; }
It is not possible to draw a graph using this browser.
2 times the length plus 2 times the height
Six, or four plus two squares.
This would be the surface area of a rectangular prism or a cube.
I have a 1989 Browning Accelerator Plus and I was wanting to adjust the draw length?
The equation to find the volume of a rectangular object is (a) volume equals length times width times height.