Hello. Im trying to make a commandline-terminal clone but some parts of code doesnt work. It compiles but when i type help or exit it doesnt show anything and hangs. Can you help me?
Here is the code:
Line 5 --> char selection; to string selection;
Line 12 --> selection == 'help' to selection == "help"
Line 17 --> selection == close to selection == "close"
Maybe changing this the code will work