I have tryed to compile c++ on sublime text2, however it compiled with a wrong way, it didn't let me to give input to a and just go straight to the next step and the value of a is a random number. I have set the building system to c++ and have downloaded the gcc in my computer,but it is doesn't work, Is anyone could tell me how to set the sublime text2 on mac for c++.
answer from sublime-text forum