Created
August 14, 2015 07:10
-
-
Save derofim/b2ebe5370ac463792a36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
int main() | |
{ | |
using namespace std; // компилятор будет использовать все из std | |
cout << "Hello world!" << endl; // не нужен префикс std:: | |
std::cout << "Hello C++!" << endl; // но при желании std:: можно указать все равно | |
cout << "Hello me!" << endl; // не нужен префикс std:: | |
int x; | |
cin>>x; // не нужен префикс std:: | |
std::cin>>x; // но при желании std:: можно указать все равно | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment