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
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
printf("Hello, World!\n");
|
||||
cout << "Hello, World!" << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue