I'm trying to write an echo like thing doing this
:
> echo Muffins
Muffinst
> echo two muffins
two muffins
The problem Is that the program isn't being started from command line,
The > is my programs input prompt (trying to write a very simple command line)
How would I do this?
Would it be possible with formatted input (cin>>)?
or would I have to use scanf?