2 Solved Topics

Remove Filter
Member Avatar for 5ophie2012

For my assignment, I have to read a text file one character at a time and display it in the console. Here's my code for this: [CODE]class TEXT { static StreamReader reader; static void Main() { int ch, characters = 0; // file that is being read in and displayed …

Member Avatar for 5ophie2012
0
180
Member Avatar for 5ophie2012

My program in a nutshell is reading a text file, outputting it to the console screen one character at a time, and then writing the characters as its read as hex pairs. I'm calling this method in a loop: [ICODE]WriteByte((char)ch, ref writer);[/ICODE](passing in the character, and a reference to the …

Member Avatar for 5ophie2012
0
261

The End.