Drawing Rectangle In C at Drawing

Drawing Rectangle In C. Drawing rectangles in console window. Cin >> r >> c;

Hollow rectangle Shapes in C++ Free C++Tutorial Online
Hollow rectangle Shapes in C++ Free C++Tutorial Online from shapesinc.blogspot.com

Despite what you think it might do, the code in my original post works except when you reverse direction when drawing the rectangle. Rectangle function in c declaration: All four parameters are of int types.

Hollow rectangle Shapes in C++ Free C++Tutorial Online

Int main() { int r = 0, c = 0, i, j; To assign it to a row and/or column you can use the setvalue () method of the rectangle. There are still a few errors, like if you enter a character instead of a integer you'll be stuck in an endless loop. Drawing rectangles in console window.