Komodo is not best choice to work with C++ code. It's a very powerful IDE for HTML, CSS, JS, Python, PHP, Ruby and some another web-languages, but not for languages as C++, C#, C, etc.
So I think there are no chances...
But you simply can write new command for building and running current C++ code by opening right pane, clicking right mouse button ->
Add -> New Command...
You can use
Command input to get current file (for example:
gcc %f -o %b && %b, if you file named as
myprogram.cpp and placed in
/home/me/ you will compile
/home/me/myprogram and run it).
If you want to see other
% variables - click on arrow after