29 lines
350 B
Text
29 lines
350 B
Text
snippet main
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main() {
|
|
printf("Hello, World!\n");
|
|
|
|
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
|