Skip to content
Advertisement

Tag: constants

The use of const char* vs. string literals

I’m using an external Modbus library – written in C – to connect to a microntroller Modbus slave from a Linux machine, using a serial connection. I’m also using wxWidgets to create an application on the Linux machine, which runs a Modbus master in the background. One of the Modbus functions accepts the name of the serial port the Modbus

Advertisement