Use iostream instead of stdio
This commit is contained in:
parent
0be68c3f98
commit
699d053333
1 changed files with 0 additions and 20 deletions
|
@ -1,5 +1,4 @@
|
|||
snippet main
|
||||
<<<<<< HEAD
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
@ -17,25 +16,6 @@ snippet oshh
|
|||
|
||||
using namespace osh;
|
||||
|
||||
int main() {
|
||||
println("Hello, World!");
|
||||
=======
|
||||
#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!");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue