Keyword:
Win8 64bit sublime C ++
1. Download a 64-bit DEV-C ++
Dev-Cpp 5.3.0.3 TDM-GCC x64 4.6.1 for windows 8 (64bits)
Note the following when selecting an installation:
English version
Remove configurations of previous versions
Install all header files
2. Set the environment variable -- PATH
Two new variables are added at the same time:
C_INCLUDEDE_PATH
LIBRARY_PATH
The corresponding key value is the directory related to dev-c ++.
3. Sublime settings
Go to Tools> Build System> New Build System
Enter the following content in the newly opened file and save it.
Filename: C ++. sublime-build
| 1234567 |
{//"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$","working_dir": "${file_path}","selector": "source.c, source.c++","shell": true,"cmd": [ "D:/Program Files (x86)/Dev-Cpp/MinGW64/bin/x86_64-w64-mingw32-g++.exe", "${file}", "-o", "${file_path}/${file_base_name}", "&","start", "${file_path}/${file_base_name}.exe"]} |
This article from the "long fat pig" blog, please be sure to keep this source http://flywjy.blog.51cto.com/3415615/1280952