dotfiles.pub/_config/nvim/UltiSnips/cpp.snippets
2025-09-06 16:31:39 +02:00

43 lines
512 B
Text

snippet main
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World!" << endl;
return 0;
}
endsnippet
snippet oshh
#define OSH_H_IMPLEMENTATION
#include "osh.h"
using namespace osh;
int main() {
println("Hello, World!");
return 0;
}
endsnippet
snippet oshh
#define OSH_H_IMPLEMENTATION
#include "osh.h"
using namespace osh;
int main() {
println("Hello, World!");
return 0;
}
endsnippet
snippet fori
for (int $1 = $2; $1 < $3; $1++) {
$0
}
endsnippet