Cross platform coding issues in C++ for Windows/linux

commands