Draw lines or margins in C++?

Sameh

New member
I programmed a game that has a grid view as it's cout and I want to surround the grid view with vertical and horizontal lines or margins, how can I do that???
Using "|" doesn't look good.
You may also tell me how to make a textbox solid by making it white or giving it a color.
 
You have to create your own grid. With the standard cout it is difficult to do that. You will have to use standard characters like - or _ or + or ! or | for your grid. It won't look pretty, but that is the best you can do with the standard cout.
 
Back
Top