R
raecer
I want to use cin to get input from the user, and then use it in the
system command. how can this be done? i was thinking something like
this
int h;
cin >> h;
system = ("echo test h test")
that is, i want the value h to be placed inside the system command.
how can i do this? sorry for the n00b question
system command. how can this be done? i was thinking something like
this
int h;
cin >> h;
system = ("echo test h test")
that is, i want the value h to be placed inside the system command.
how can i do this? sorry for the n00b question