hi
im new to C++ and I used python before.
now in python i could make a script like this
print "hello"
while True:
cmd=raw_input(">"
if cmd == "hello"
do something
else
do something else
now that code repeats the input part and i wanted to know how I would go about that in C++
thnx
im new to C++ and I used python before.
now in python i could make a script like this
print "hello"
while True:
cmd=raw_input(">"
if cmd == "hello"
do something
else
do something else
now that code repeats the input part and i wanted to know how I would go about that in C++
thnx