how to add c++14 in sublime text
- Open Sublime Text.
- Install the Package Control if not already installed by visiting https://packagecontrol.io/installation and following the provided instructions.
- Press
Ctrl + Shift + P
(Windows/Linux) or Cmd + Shift + P
(Mac) to open the command palette. - Type and select "Package Control: Install Package" in the command palette.
- In the package list, type "C++14" and select the "C++14" package to install it.
- Once installed, open a C++ file or create a new one with a
.cpp
extension. - Press
Ctrl + Shift + P
(Windows/Linux) or Cmd + Shift + P
(Mac) to open the command palette. - Type and select "C++: Set Syntax" and choose "C++14" from the options.
- Now, your Sublime Text is configured to use C++14 syntax for C++ files.