Hi,
I have to make a program in c++ which reads a text file and prints it out.The tricky part is that when it reads 4 spaces in row it has to convert it to '\t' so the optical result is the same.Well the problem is that when i am using '\t' it displays at the console 5 spaces and not 4 or 8. I have tested it in win7 and linux but the result is the same.Please guys need help!Sorry for bad english btw!
Thanks!