how to add c++14 in sublime text

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