-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Hey yall!
Learning C++ at the moment and i found that this a great project to build on to! Thanks for that.
I come a cross an issue that i dont understand.
When sending "Hello Wolrd" as message i get:
joe@devel:/media/nas/Development/cpp/Interface/src/TCPCS/build$ ./tcp_client
Client connected successfully
select one of the following options:
1. send message to server
2. close client and exit
1
enter message to send:
Hello World
message was sent successfuly
select one of the following options:
1. send message to server
2. close client and exit
terminate called after throwing an instance of 'std::runtime_error'
what(): invalid menu input. expected a number, but got something else
Aborted (core dumped)
joe@devel:/media/nas/Development/cpp/Interface/src/TCPCS/build$
Its like as if it jumps back automatically to menu on space characters and thinks that next input is "World", where it expects a number again.
Can you point me towards the code that i can check debugging?
Thx
Metadata
Metadata
Assignees
Labels
No labels