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}\"" } ] } 
  • 2
    You'd better give the code ... - Harry

1 answer 1

Since you’ve just started learning with ++, you probably don’t really care what IDE to learn. I can recommend Codeblocks and Dev c ++ to get started. In these IDEs you should not have problems like the one described by you.