You do it with the = sign... really...
ascii_variable = caracter;
There's no magic here... the letter 'R' is just a number...
Try this, you'll see...
Type: Posts; User: CommonTater
You do it with the = sign... really...
ascii_variable = caracter;
There's no magic here... the letter 'R' is just a number...
Try this, you'll see...
In my experience the equals sign has always done a fine job of this task... junk = caracter; ... should be just the ticket.
However if you are reading and writing the file character by character...