I have a text file with a bunch of different names and integer values.
Let's say I need to read them and then store in another file giving constant 10 characters for char to hold, and 5 constant places to hold for int values.
In short,
turn something like this:
John 2 1 5
into this:
John 2 1 5
How to do it the proper way (without cout and empty spaces in brackets :D )?
It seems that char name[any number];
isn't giving a single empty character in the output.