I'm unsure to be honest. I'm working on the terminal that comes with ubuntu and I'm using gcc with no flags to compile the file.
My current code isn't the issue (at least it shouldn't be). I'm just trying to figure out how I would insert the string s into an array of strings messages[] so that I can continue with my assignment.
In my assignment, I have a test file that has the messages array and a string. It passes messages and the string into a function. In that function, I determine what the round is in the game that's being played, and so I need to insert the string into messages[round] so that I can refer back to it in the future.