#include <iostream>
using namespace std;
int main()
{
int x = 5;
int y = 7;
cout << endl;
cout << x + y << " " << x * y;
cout << endl;
return 0;
}
或者
#include <iostream>
int main()
{
int x = 5;
int y = 7;
std::cout <<std::endl;
std::cout << x + y << " " << x * y;
std::cout << std::endl;
return 0;
}
建议你去Google下命名空间了解下