C++ novo:
#include <iostream>
int main() {
std::cout << "hello world\n"
return 0;
}
C++ Antigo
#include <iostream>
using namespace std;
int main() {
cout << "hello world" << endl;
return 0;
}
C++ novo:
#include <iostream>
int main() {
std::cout << "hello world\n"
return 0;
}
C++ Antigo
#include <iostream>
using namespace std;
int main() {
cout << "hello world" << endl;
return 0;
}