1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Computer Science C++ Problem

  1. Jun 17, 2007 #1
    Problem Solved thank you
     
    Last edited: Jun 17, 2007
  2. jcsd
  3. Jun 17, 2007 #2
    This will just print 4 blanks every line. That is you need to change the test condition and associate it with lineCtrl variable.

    Remember you need 2*lineCtrl-1 X's in each line.
     
  4. Jun 17, 2007 #3
    doing the 2*lineCtrl-1 send it into an infinite X printing loop.
     
  5. Jun 17, 2007 #4
    Seems to work fine for me. I am not giving you the code just yet. Why don't you post your revised code? And mind your braces :smile:
     
  6. Jun 17, 2007 #5
    hey man this is my first C++ class in the summer which means its accelerated. soo he just introduced for loops in wed class soo im trying to create this from it. im stumped. can you give me a lil bit of a bigger clue to go from.
     
  7. Jun 17, 2007 #6
    never mind i figured id it out.

    thank you
     

    Attached Files:

    Last edited: Jun 17, 2007
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Computer Science C++ Problem
  1. C++ Problem (Replies: 6)

  2. C++ problem (Replies: 3)

Loading...