// C++ std命名空间#include iostreamusing std::cout;int main () {cout std::endl is used with std! std::endl;
编程学习网为您整理以下代码实例,主要实现:C++ std命名空间,希望可以帮到各位朋友。
// C++ std命名空间
#include <iostream>
using std::cout;
int main () {
cout << "std::endl is used with std!" << std::endl;
return 0;
}