Add snippets for c++
This commit is contained in:
parent
42351ed046
commit
5c8cecbfc9
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
snippet main
|
snippet main
|
||||||
|
<<<<<< HEAD
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -18,6 +19,12 @@ using namespace osh;
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
println("Hello, World!");
|
println("Hello, World!");
|
||||||
|
=======
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
printf("Hello, World!\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue