Search
 
SCRIPT & CODE EXAMPLE
 

CPP

c++ 14 for sublime windoes build system

{
 "cmd": ["g++", "-std=c++14", "${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",
     "cmd":["bash", "-c", "g++ -std=c++1y '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"]
   }
 ]

}
Comment

c++ 14 for sublime windoes build system

{
 "cmd":["bash", "-c", "g++ -std=c++14 -Wall '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"],
 "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
 "working_dir": "${file_path}",
 "selector": "source.c, source.c++",
 "variants":
 [
   {
     "name": "Run",
     "cmd":["bash", "-c", "g++ -std=c++14 '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"]
   }
 ]
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: binary search c++ 
Cpp :: new c++ 
Cpp :: string search c++ 
Cpp :: how to compare two char* in c++ 
Cpp :: c ifdef 
Cpp :: factorial calculator c++ 
Cpp :: letter occurrence in string c++ 
Cpp :: max two numbers c++ 
Cpp :: Disabling console exit button c++ 
Cpp :: C++ Conditions and If Statements 
Cpp :: C++ New Lines 
Cpp :: reversing a string in c++ 
Cpp :: vector c++ 
Cpp :: c++ switch statement 
Cpp :: how to concatenate two vectors in c++ 
Cpp :: return array of string in function c++ 
Cpp :: map in cpp 
Cpp :: class operator overloading c++ 
Cpp :: how to have a queue as a parameter in c++ 
Cpp :: opencv c++ feature detection 
Cpp :: linux c++ sigint handler 
Cpp :: fill vector with zeros c++ 
Cpp :: max pooling in c++ 
Cpp :: c++ if statement 
Cpp :: how to fill vector from inputs c++ 
Cpp :: c++ add input in 
Cpp :: c++ std map initializer list 
Cpp :: Arduino Real TIme Clock 
Cpp :: educative 
Cpp :: options select from array 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =