title: Can't build even a simple program in Sublime Text 3
body: <p>I have just switched from Python to C++ for implementing Data Structures and Algorithms. I found that Sublime Text 3 was quiet powerful. I installed it, added my Mingw-64 compiler to the path and also added a "build system". I hoped it would be suffice to build and run any basic C++ program. But when I run</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main() {
     int n;
     cin&gt;&gt;n;
     cout&lt;&lt;n&lt;&lt;endl;
     return 0;
  }
  </code></pre>
  
  <p>I know, there is some problem either in the build part or the compiler settings. I tried different compilers, from code blocks to independent Mingw-64 compiler without any success. In the past, I have used Code Blocks, it never required me to create an exe file or reference it. If I restart the program, it will show permission denied error which I know why it occurs.</p>
  
  <p>Here is the error:</p>
  
  <blockquote>
    <p>The system cannot find the file G:\Programming\C++\second.exe.
    [Finished in 15.0s with exit code 1]</p>
    
    <p>[shell_cmd: g++ "G:\Programming\C++\second.cpp" -o
    "G:\Programming\C++/second" &amp;&amp; "G:\Programming\C++/second"] [dir:
    G:\Programming\C++] [path: C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
    Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program
    Files\Intel\WiFi\bin\;C:\Program Files\Common
    Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows
    Live\Shared;C:\Program Files\MATLAB\MATLAB Production
    Server\R2015a\runtime\win64;C:\Program Files\MATLAB\MATLAB Production
    Server\R2015a\bin;C:\Program Files\MATLAB\MATLAB Production
    Server\R2015a\polyspace\bin;C:\Python27\;C:\Python27\Lib\site-packages\PyQt4;C:\Program
    Files\Git\cmd;C:\Program Files
    (x86)\mingw-w64\i686-7.1.0-posix-dwarf-rt_v5-rev0\mingw32\bin;C:\Users\80LM0141IH\Anaconda3;C:\Users\80LM0141IH\Anaconda3\Library\mingw-w64\bin;C:\Users\80LM0141IH\Anaconda3\Library\usr\bin;C:\Users\80LM0141IH\Anaconda3\Library\bin;C:\Users\80LM0141IH\Anaconda3\Scripts;C:\Users\80LM0141IH\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\80LM0141IH\AppData\Local\Programs\Python\Python36\;C:\Users\80LM0141IH\AppData\Local\Microsoft\WindowsApps;G:\Microsoft
    VS
    Code\bin;C:\Users\80LM0141IH\AppData\Local\GitHubDesktop\bin;C:\Users\80LM0141IH\AppData\Local\Microsoft\WindowsApps;";C:\Program
    Files (x86)\Graphviz2.38\bin";C:\Program Files
    (x86)\Graphviz2.34\bin;]</p>
  </blockquote>