I'm trying to create a schedule generator.
I have global variables of
What I want to do is make a different string that will beCode:char *team1 = "random name"; char *team2 = "someone else";
The way I have it set up is that I know that they're are only 45 possible matchup combinations, so I will make a variable for everyone (there's more than 2 teams, and I know this probably isn't the most efficient method, but its all I can think of at the moment.)Code:char * newString = "random name vs. someone else"
So how do I do this without having to type in all the names every time?