Hello everyone:
I have an output formatting question for C++,
I am writing a program that outputs movie names, the genre, and the categorie
IT currently looks like cout << movie << "\t\t\t" << cat << "\t\t\t" << genre;
i've tried also using the setw(X);, but it produced the same problem.
Display:
Ice Age ........................ cat ........................... gen
Saving Private ryan ........................... cat ........................... gen
Doge Ball .................... cat ........................... gen
Is there a way to get it to be:
Title .............................. Categorie................... genre
Ice age ........................... cat ........................... gen
Saving Private Ryan ........ cat ........................... gen
Doge Ball ........................ cat ........................... gen
this is all dynamic, I just need all the information to be aligned. (names will be changing, categories changing, and genres changin)