Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Can anyone tell me what I did wrong here?


  • Please log in to reply

#16
ryanmills

ryanmills

    Member

  • Member
  • PipPip
  • 28 posts

Dont feel too bad, Whipsmack.  I have taken four C++ classes and I still make that same error now and again. 

The important thing to remember is to not ask for help too soon.  Several times I have gotten stuck and I try to fix it using the "stare" method (which all programmers are familiar with.  Looks kinda like this:  :) ).  After about an hour (or sometimes more :tazz:) I just got up and went for a walk.  15 minutes later I sat back in my chair and I saw the problem within seconds.

A helpful tip when programming (and I wish someone told me this when I first started) is to frequently take breaks.  You will save mountains of time in the long run.

Good luck out there  ;)

View Post


Amen Brother... Thou my stare looks more like ;) then I move into ;) but once I take a break and clear the mind it looks somthing like... :)




-Ryan
  • 0

Advertisements


#17
duckie

duckie

    Member

  • Member
  • PipPip
  • 15 posts

if 2 identical computers run 2 pieces of code with identical input, the output will b the same.

View Post


not true with concurrent systems however.. it gives different output everytime you run, very hard to debug. :tazz:
  • 0

#18
kool808

kool808

    Visiting Staff

  • Member
  • PipPipPipPip
  • 1,690 posts
Here is a good tip for you when starting to learn programming. Always practice to do indentations on a nested group of statements that way it would look neat and clean as well as very easy to debug. :tazz:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP