944,067 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1933
  • C++ RSS
Oct 17th, 2004
0

help with a should be easy c++ problem

Expand Post »
ok im having this problem.
i have a function in which i have to create a triangle using *'s. The user inputs the base and height of the triangle and from that im supposed to print out the shape. Ive been playing with for, and while loops and cant seem to figure it out. Also im not allowed to use string, basically all i can use to solve this is for and while loops.

if anyone has any ideas or solutions it would be greatly appreciated...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rpglw18 is offline Offline
2 posts
since Oct 2004
Oct 17th, 2004
0

Re: help with a should be easy c++ problem

actually noone reply, i figured it out...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rpglw18 is offline Offline
2 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: I GIVE UP, how do I modify this code to call from one form to the other and back
Next Thread in C++ Forum Timeline: I could use some help with ofstream





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC