Hello so I'm basically trying to do something like this.
PrintOpt("Hello | I | Am | Awesome");
and in my PrintOpt code
void PrintOpt(char* Text){
if(!strcmp(Text, " | ")){
Text = "\n";
}
printf(Text);
}
I would like it to print out like this
Hello
I
Am
Awesome
(On a new line)
But when I do this it doesn't print out anything. Does anyone know why this isn't working? Thank you