User Profile

Collapse

Profile Sidebar

Collapse
Andrea Robinson
Andrea Robinson
Last Activity: Feb 12 '11, 09:57 PM
Joined: Feb 1 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Convert separate digits into one whole number...???

    Hello! I need a little more help. I have managed to convert all my chars input from a text file into digits.
    Example:
    Input from file:
    $1,9,56#%34,9
    !4.23#$4,983
    Output:
    1956
    349
    423
    4983
    Now, I need to take those individual digits the 1 9 5 6 and make it read as a whole number. The output would look the same but they would actually be whole numbers. Make sense? I have to do...
    See more | Go to post

  • How do you convert characters from ASCII to Int w/o using the atoi function?

    I need to convert data that is input from a file from ASCII chars to Ints, but the catch is no atoi and I can ONLY convert number characters and ignore the others, and the # symbol has to act like a break.
    For example: if my file inputs $1,956#%34,9 the output will be
    1956
    349
    So I know I need to subtract 0 from the ASCII car to get the int, but how do I get it to skip the other characters and have the # symbol act as...
    See more | Go to post
No activity results to display
Show More
Working...