I have a question, maybe a stupid one, but I really don't get the reason why this thing is happening..
I have some data I want to print to my C++ program's output in columns,so I use tabs the way below: (Linux environment)
Now the strange thing is that the first tab comes as a white space,
cout<<"User's nickname is:\t"<<nickname<<"\tUser's id is:\t"<<id<<"\tUser's name is:\t"<<name<<endl;
the other 2 tabs are ok and the tab "\tUser's name is
comes out as a tab for some of users or as a white space for the rest of them....Why is that?Is there another way to format the output instead of tabs?