How should I create a build system that can take STDIN in Sublime Text 3 under OSX?

475 views Asked by At

I'm trying to build a single C++ file that can take STDIN after building so I can test some single examples and see whether the code work. But it seems the default C++ build system won't be able to consume any input from STDIN. Is there a way to create my own build system to fix this issue?

1

There are 1 answers

0
Harman Brar On BEST ANSWER

I just ended up using terminal on OS X.

Someone asked this question earlier but I didn't end up trying it Sublime Text with console input for c++ programs