Click here to Skip to main content
12,303,190 members (81,059 online)
Click here to Skip to main content
Articles » Languages » C / C++ Language » General » Alternatives
Alternatives (1)
Add your own
alternative version

Tagged as

Stats

33.1K views
7 bookmarked
Posted

C++ -> Drawing Rectangles to Console

, 25 Aug 2011 CPOL
C++ -> Drawing Rectangles to Console

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

25 Aug 2011
Jose David Pujo
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...

License

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

Share

About the Author

Caner Korkmaz
Student
Turkey Turkey
No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.160530.1 | Last Updated 25 Aug 2011
Article Copyright 2011 by Caner Korkmaz
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid