:: Build Method for C++17 ::
{
"shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c++",
"variants":
[
{
"name": "Run",
"shell_cmd": "g++ --std=gnu++17 \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\""
}
]
}
How to use bits/stdc++.h(STL) header file in MAC
[] STEP 1 :- Open finder in your mac
[] STEP 2 :- Press shift+command+g to open go to
[] STEP 3 :- Paste this
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/bits
[] STEP 4 :- Create one files using any text editor of your choice and named it stdc++.h
[] STEP 5 :-Paste this code in it and you are good to go.
https://github.com/myan-007/stl
And that's it if you wanted to know more about it checkout my github profile!!
My profile!
Top comments (0)