I just started to study with ++, I connected mingw to sublime text 3, everything worked fine until I tried to type something from the keyboard, in other words, using cin provokes endless input into the variable, although no problems were found with cout, I hope for help.
The build system I use saved some Indian, but this is the only thing that worked, the path is registered.
{ "shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"", "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir": "${file_path}", "selector": "source.c, source.c++", "variants": [ { "name": "Run", "shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\"" } ] }