
12.04.2010, 01:45
|
|
Познающий
Регистрация: 22.02.2010
Сообщений: 30
Провел на форуме: 188597
Репутация:
15
|
|
Код:
// первый вариант
#include <iostream>
int main()
{
std::cout << "hello there. \n";
std::cout << "Here is 5: " << 5 << "\n";
std::cout << "the monipylator end writes a new line to the screen";
std::cout << std::endl;
std::cout << "here is veri big number: \t" << 70000 << std::endl;
return 0;
}
// второй вариант
/*#include <iostream>
using namespace std;
int main() {
cout << "hello there. \n";
cout << "Here is 5: " << 5 << "\n";
cout << "the monipylator end writes a new line to the screen";
cout << endl;
cout << "here is veri big number: \t" << 70000 << endl;
return 0;
}*/
|
|
|