Click here to Skip to main content
15,888,251 members
Articles / Programming Languages / C++

C++ -> Drawing Rectangles to Console

Rate me:
Please Sign up or sign in to vote.
2.63/5 (4 votes)
25 Aug 2011CPOL 16.4K   1  
Smaller code:void DrawRect(int x, int y, int width, int height, int curPosX=0, int curPosY=0){ setxy(x, y); cout << char(201); cout.width(width); cout.fill (char(205)); cout << char(187); setxy(x,height+y); cout << char(200); cout.width(width); cout.fill...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Freelancer
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions