Added support for C++ on Mac OSX and Linux

Hello guys,

I'm sending a pull request to implement support for C++.
By the way, there's any way to run two command in one menu item?