When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
13 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
you can do it in multiple ways, you can use spaces or left and right
alignment
i use libraries to code rather than std right now, but yeah
im pretty sure you need to use setw as well
can't you just remove the \n and just spam a bunch of spaces?
check the answer
you can propably also use std::format to left and right align the text if you got access to C++ 20
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity
in general formatting like this is always a bit of a pain to do nicelyt
blegh that sucks
https://www.tutorialspoint.com/what-are-backslash-character-constants-in-c-language \t means horizontal tab
What are Backslash character constants in C language - A backslash ( ) that allows a visual representation of some nongraphic characters introduces an escape.One of the common escape constants is the newline character ( ).Backslash CharactersThe backslash characters are as follows −CharacterMeaning‘a’alert‘b’backspace‘f’form feed‘�
k