hi, i'm working over a code to interchange messages using sockets, i have a
server that when client connect to, server sends a char number(eg "100"),
when client receives this string number, it has to addition +5 , to do that
i need to change format from string to int and make sum operation, but when
i do de change of format i get some error this message on the console window
:
bad lexical cast : source type value could not be interpreted as target
Part of the code is :
boost::array
participants (2)
-
Igor R
-
pedro chaparro