Writing c++ class (Linux/g++ compiler)
1. Small class to communicate to serial port.
2. Port name and parameter, baud rate, data bit, parity and stop bit are set in constructor. Using CONST is just fine.
3. Class has only one method
string sendReceiveMsg(string messageToSend)
This method does following.
i) reserve right to use serial por...