'How can I add a fixed snippet of code at the beginning of every C++ file I create on Clion?
For example:
#include <bits/stdc++.h>
#define ll long long
#define ld long double
#define umap unordered_map
#define uset unordered_set
#define pque priority_queue
I want to add this boilerplate at the start of each C++ source file I create instead of copying it each time.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
