reading ascii from a file and converting it to a char

Oct 18, 2011 at 1:08am
Hello, our teacher gave us a notepad file with lyrics to a song, however, instead of the lyrics the file is filled with stuff like "Do you ever feel like a"

the numbers are the ascii code of the letters of the lyrics, he told us to make a program that reads the notepad file and converts the numbers to the letters. He talked about using inData.get() to read and convert a char at a time and static_cast<char> to convert them. But i can't figure out how.
Last edited on Oct 18, 2011 at 11:48am
Topic archived. No new replies allowed.