I am working with my telnet echo program, and when i try to print it to cout, the quotes were put at the beginning of the line. I have traced this odd activity back to the mysterious (char)13.
does anyone have any clue what this is?
P.S. i tried entering this character into ttelnet while they werew connected, and the program terminated. I don't know if this is because it evaluates "ch == '\n'" true, or if it is End Of Stream or something like that. Any help would be appreciated.