Command to convert a string type data to integer. . . .in C language?

Osmanovic

New member
is there a command to convert a string of numbers say "24353" to integers?

my objective . . .

read a "string" of number (treat it as password)
convert it to integer. . .
carry out simple multiplication/addition/subtraction to encrypt the number
convert it back to string. . .


thanks in advance! :)
you can assume that the input user gives is always in the form of numbers. . .no validation is needed. . . . :)
 
Back
Top