Add osh.h snippet

This commit is contained in:
Oshgnacknak 2022-04-27 19:11:47 +02:00
parent 2129f56cbb
commit 441e8406f0
Signed by: Oshgnacknak
GPG key ID: 8CB7375654585956

View file

@ -9,6 +9,19 @@ int main() {
} }
endsnippet endsnippet
snippet oshh
#define OSH_H_IMPLEMENTATION
#include "osh.h"
using namespace osh;
int main() {
println("Hello, World!");
return 0;
}
endsnippet
snippet fori snippet fori
for (int $1 = $2; $1 < $3; $1++) { for (int $1 = $2; $1 < $3; $1++) {
$0 $0