COM1100 -- Winter2000 -- Yuhong Yin
14
Steps in using Files – 5Susing F
nWrite data into the file
nThe simplest way works just like cout with <<
nMyOutFile << x << y << radius << R << G << B;
n
nYou also can write a single character into a File with put method
nchar ch;
nMyOutFile.put(ch);
n