Use iostream instead of stdio
This commit is contained in:
parent
de103af9ba
commit
8b36ab4073
1 changed files with 4 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
snippet main
|
snippet main
|
||||||
#include <stdio.h>
|
#include <iostream>
|
||||||
#include <stdlib.h>
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf("Hello, World!\n");
|
cout << "Hello, World!" << endl;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue