COM1100 -- Winter2000 -- Yuhong Yin
13
Steps in using Files – 4 Steps in
nGet data from the file
nThe simplest way works just like cin with  >>
nMyInFile >> x >> y >> radius >> R >> G >> B;
n
nYou also can read a single character form a File with get method
nchar ch;
nMyInFile.get(ch);
n