Programming PLCs with C++