starting out

Discussion in 'Software' started by scope, Aug 26, 2004.

  1. scope

    scope Private E-2

    hey i have a quick question, is it necessary to have a mathematical background to learn programming ? or would it help any if you did have one
     
  2. Wookie

    Wookie Sergeant Major

    No math needed really :)

    Just logical skills, your gonna have a lot of problem solving and if this then this what if this stuff you gotta figure out. Like a big puzzle

    In my experience math isnt needed unless the program is written to solve math problem. or games, game require lots of math.
     
  3. scope

    scope Private E-2

    that was a quick reply, thanx, i just love workin with computers and decided to move on a bit and programming has been on my mind for awhile, ive looked at some tutorial and languages for starting out and i know to go into computer science they require you to have good knowledge of maths and i was just wondering if you needed a good mathemathical background to do programming...
     
  4. scope

    scope Private E-2

    anyone recommend a good tutorial and language to start out with ?
     
  5. goldfish

    goldfish Lt. Sushi.DC

    STICKEH! http://forums.majorgeeks.com/showthread.php?t=17921

    Err, yes. You do need some fairly simple maths to get started with programming. As long as you have the basics, you're fine. If you need to achive somthing that requires maths, then its easiest to learn how to solve that specific problem, rather than do a whole maths sylabus in abstract (rather than practical) form.
     
  6. scope

    scope Private E-2

    hey im starting to learn python and ive run into a spot of bother ive created a password program and i would like to know what the code would be so that i can tell how many failed attempts the user has entered the password, cheers in advance
     
  7. Wookie

    Wookie Sergeant Major

    well you would have to create a counter, make an if statement that if the password is incorrect increase the counter by one. Then display that counter to wherever.
     
  8. scope

    scope Private E-2

    do you know the code for it, i know i have to create a counter but i dont know what the code should contain :(
     
  9. Wookie

    Wookie Sergeant Major

    I don't know python

    All you have to do is create a variable, heres some close to C code ill come up with off tope of my head
    Code:
    Int Counter       (Global variable for access elsewhere)
    
    
    void login()
    {
    If password == storedpassword then
      {
    Login();
    
    Else
    
    counter = counter + 1
    Notauthorized();
    }
    }
    
    
     
  10. scope

    scope Private E-2

    ok thanx
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds