Can you help me out with this issue? What happens is that I want to print random ASCII symbols in a single line of a txt file. How can I make my program print things in a single line of a txt file? Is it something like .eof() or .eoln()?
Well, what I need to do exactly is to print random ASCII characters in only 6 lines of a txt file... I've already figured out the ASCII part, but the thing is that I create a 6 times loop. First, it fills the first line with characters, then "endl". Then, again and again, till it reaches 6 times. But when I check the txt file, there are more than 6 lines: sometimes 9 and 10 :(