In SublimeText 2.0.1 I chose "Tools -> Build System -> C ++", created a project, added the following file:
#include <iostream> int main() { int a, b; std::cout << "Enter two values: "; std::cin >> a >> b; c = a + b; std::cout << a << '+' << b << '=' << c << std::endl; return 1; }
Build completes successfully, but when I run Run, the string std :: cin >> a >> b; is skipped.