so basically i want to be able to organise info in my console application, im a beginner with C++ but im making a server for a game.

Basically at the moment the playerlist looks like this:

player [32] |Kills: 30 |Deaths: 45
tt [32] |Kills: 222 |Deaths: 2

im using cout << etc

but i want it to look like this:

player [32] |Kills: 30   |Deaths: 45
tt     [32] |Kills: 222  |Deaths: 2

i was wondering if it was possible to get it to do that and line the things up a bit as it looks neater.
thankyou.

Look at setw(). It sets the width of text. A Google search will provide an explanation and examples.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.