Hello, i need help finishing my code

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4

56 Replies - 1106 Views - Last Post: 16 January 2013 - 03:38 PM Rate Topic: -----

#46 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9097
  • View blog
  • Posts: 34,181
  • Joined: 12-June 08

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:11 PM

I would have just taken a screen shot since that isn't the exact output you are getting.

Either way - this may be an excellent time to embrace debugging and put a breakpoint (in your ide) and actually see what your code is doing. Maybe that might tie in the concepts better.
Was This Post Helpful? 1
  • +
  • -

#47 SwiftXShadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 16-January 13

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:14 PM

"Either way - this may be an excellent time to embrace debugging and put a breakpoint (in your ide) and actually see what your code is doing. Maybe that might tie in the concepts better.
"

WHAT?!
i literally didnt understand 80% of what u just said
Was This Post Helpful? 0
  • +
  • -

#48 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9097
  • View blog
  • Posts: 34,181
  • Joined: 12-June 08

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:19 PM

What are you using to type up your code? What application?
Was This Post Helpful? 1
  • +
  • -

#49 SwiftXShadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 16-January 13

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:25 PM

i think i found the mistake


on the very last for(l=0; l<4; l++) i have(had) a ; at end like this for(l=0; l<4; l++);
and i guess that fucked up everyhting... even though i really dont understand how but it did...

dev c++ 4.9.9.2

yea now it works
Was This Post Helpful? 0
  • +
  • -

#50 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9097
  • View blog
  • Posts: 34,181
  • Joined: 12-June 08

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:27 PM

Quote

on the very last for(l=0; l<4; l++) i have(had) a ; at end like this for(l=0; l<4; l++);
and i guess that fucked up everyhting... even though i really dont understand how but it did...

A semi-colon tells the compiler that "hey - this is the end of this line/logic statement". So if you have it right after your for loop declaration then the body of the for-loop isn't perceived to be with the forloop declaration.
Was This Post Helpful? 1
  • +
  • -

#51 SwiftXShadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 16-January 13

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:27 PM

anyway i am already like 30 minutes way past the time line, so i gotta send it.

Thanke(or is it thanks or thankes??, i dont know how to write that word correctly) you for the help with it.
Was This Post Helpful? 0
  • +
  • -

#52 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9097
  • View blog
  • Posts: 34,181
  • Joined: 12-June 08

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:29 PM

Oh, and debugging information:

http://eilat.sci.bro.../HowToDebug.htm
http://www.lmgtfy.co...+debug+tutorial

It is "thanks" or "thank you". No 'e'.
Was This Post Helpful? 0
  • +
  • -

#53 SwiftXShadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 16-January 13

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:34 PM

are they written the same way in US and British english?

anyway thank you for the help
Was This Post Helpful? 0
  • +
  • -

#54 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9097
  • View blog
  • Posts: 34,181
  • Joined: 12-June 08

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:34 PM

Brits say all sorts of ass-backwards things ("colour" instead of "color" for example), but no.. I haven't seen a Brit say 'thanke'.
Was This Post Helpful? 0
  • +
  • -

#55 SwiftXShadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 16-January 13

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:35 PM

Lol why is british backwards and not us english.
Was This Post Helpful? 0
  • +
  • -

#56 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9097
  • View blog
  • Posts: 34,181
  • Joined: 12-June 08

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:36 PM

Obvious reasons.
Was This Post Helpful? 0
  • +
  • -

#57 SwiftXShadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 16-January 13

Re: Hello, i need help finishing my code

Posted 16 January 2013 - 03:38 PM

like what lol..... USA english comes from the Brits..... USA just changed it


though i guess nowadays to everyone USA english is like normal, and brits got the british axent and stuff
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4