Please Help..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Doffsingen
    New Member
    • Mar 2008
    • 3

    Please Help..

    Hi, im a new programmer that needs help. I want a program that going to look in a file with numbers(lets say "nr2") and compare it with a number("nr1") i have on a string or anything like that. If the number ("nr1") is higher then any number("nr2") in the file, the program going to replace the highest number(highest number in nr2) with the current nuber. ("nr1"). Is that possible?
    Thanks...
  • mac11
    Contributor
    • Apr 2007
    • 256

    #2
    Originally posted by Doffsingen
    Hi, im a new programmer that needs help. I want a program that going to look in a file with numbers(lets say "nr2") and compare it with a number("nr1") i have on a string or anything like that. If the number ("nr1") is higher then any number("nr2") in the file, the program going to replace the highest number(highest number in nr2) with the current nuber. ("nr1"). Is that possible?
    Thanks...
    All of that is possible. I suggest you try doing it in small pieces. For example, first make a piece that opens your files. Do you know how to do that?

    There are lots of good articles/tutorials around here, try reading some if you get hung up.

    Comment

    • Doffsingen
      New Member
      • Mar 2008
      • 3

      #3
      Okej. I will look around on the website. Thanks alot

      Comment

      Working...