Character to Int conversions.
I'm trying to complete a program that reads in a file character by character, push's them onto a stack and then pops them off. The resulting file is then reversed. The method that I have to use involves the in.read() and out.write methods. These methods return an write the integer equivalent values of the characters therefore,
1 - How do you convert an integer to a character?
2 - How do you convert a character to an integer?
Any help would be great, I cant find anything online or in text-books.