摘要:
#include <functional>#include <iostream> void f(int& n1, int& n2, const int& n3){ std::cout << "In function: " << n1 << ' ' << n2 << ' ' << n3 << '\n' 阅读全文
posted @ 2017-11-14 21:27
戴怪兽
阅读(477)
评论(0)
推荐(0)
摘要:
转换一个数变成8进制,则为 cout << oct << x << endl; 转换一个数变为16进制,为 cout << hex << x << endl; 阅读全文
posted @ 2017-11-14 21:10
戴怪兽
阅读(587)
评论(0)
推荐(0)
摘要:
一个简单的并发编程的举例 #include <iostream> #include <thread> using namespace std; void hello(){ cout << "Hello Concurrent World\n"; } int main(){ thread t(hello 阅读全文
posted @ 2017-11-14 20:05
戴怪兽
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号