mercredi 29 avril 2015

How to implement an "echo" like program in C++?

I wish to write a program main such that when I run the program, it will print :

>>./main 
hello! please enter text:
>> hi
hi
>> apple
apple
>> quit
quitting

How to do it in C++?

Aucun commentaire:

Enregistrer un commentaire