Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Need quick help, stuck on project.
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-21-2012, 03:06 PM
youknowwho's Avatar
Forum Addict
 
Join Date: Jun 2005
Location: Doing ur mom
Posts: 422
Send a message via ICQ to youknowwho Send a message via AIM to youknowwho Send a message via MSN to youknowwho Send a message via Yahoo to youknowwho Send a message via Skype™ to youknowwho
Default Need quick help, stuck on project.

ok so i am having a hell of a time figuring out what i am doing wrong. On the right of the picture you see what it is supposed to be.

3##
#3#
##3

and i have my loop of what i think it is supposed to be but it turns out how it is in the picture.

http://imgur.com/2ONHg
__________________


PROUD MEMBER SINCE 05'!!
VETERAN OF SYTHE!

Although it is not common knowledge, there are actually three sides to the Force: the light side, the dark side, and Chuck Norris.

Vouch thread: http://sythe.org/showthread.php?t=961098
Reply With Quote
  #2  
Old 03-22-2012, 03:06 AM
Active Member
 
Join Date: Mar 2012
Posts: 139
Default Re: Need quick help, stuck on project.

Hi, i was looking at your loop and found that the loops are just doing the same thing, both of them. like, the what the first loop does, the second loop gives the value of first as well as what the loop should have done, which in this case is same as the first one, and this keeps repeating since j <=3, repeats 3 times.
"cout<<left<<setfill('#)<<setw(3);"
is a bad logic, as it is only gonna print 3 and ##, makes no sense.

you should try putting an if statement checking if i==j, cout 3, and then the else #, i think that should do it, and you must fix the loop too. I know this wasnt able to write it for you, but if you give me the whole program i can debug it for you.
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 04:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1