首页
Java
登录
6mi
u
盘
搜
搜 索
Java
关于命名空间的互相引入的例子
关于命名空间的互相引入的例子
xiaoxiao
2021-02-28
56
#include <cstdlib> #include <iostream> namespace mystd{ extern "C" int printf(...); using namespace std; } int main(int argc, char *argv[]) { mystd::cout<<"hellowrld"; mystd::printf("helloworld!"); system("PAUSE"); return EXIT_SUCCESS; }
转载请注明原文地址: https://www.6miu.com/read-76004.html
技术
最新回复
(
0
)