[C++] Fix -c flag and add -i flag
4 files changed