Thread: Question about drawing the hollow rectangle and diamond

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    23

    Question about drawing the hollow rectangle and diamond

    How to Draw a hollow rectangle, triangle and diamond using the C + + using Four rings or something like that

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    One Ring to rule them all, One Ring to find them,
    One Ring to bring them all and in the darkness bind them...


    So tell me, mortal man doomed to die, what idea do you have, what algorithm have you come up with, to draw a hollow rectangle? What examples of this hollow rectangle do you have, anyway?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jan 2013
    Posts
    23
    Quote Originally Posted by laserlight View Post
    One Ring to rule them all, One Ring to find them,
    One Ring to bring them all and in the darkness bind them...


    So tell me, mortal man doomed to die, what idea do you have, what algorithm have you come up with, to draw a hollow rectangle? What examples of this hollow rectangle do you have, anyway?

    I have painted several forms in a traditional way

    as
    #
    main ()
    {
    cout<<"***",
    elc..

    But it did not work well if at all Thank you I will try to find it

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help me to draw a hollow rectangle in C++!
    By blackhawk65 in forum C++ Programming
    Replies: 2
    Last Post: 07-15-2010, 01:12 PM
  2. Replies: 19
    Last Post: 06-23-2010, 02:58 AM
  3. drawing diamond
    By bluestar in forum C++ Programming
    Replies: 3
    Last Post: 02-20-2003, 07:57 AM
  4. hollow rectangle
    By Unregistered in forum C Programming
    Replies: 7
    Last Post: 04-07-2002, 07:03 AM
  5. drawing a diamond
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 09-24-2001, 08:42 PM