上一页 1 ··· 308 309 310 311 312 313 314 315 316 ··· 618 下一页

2021年12月10日

摘要: void swap(int &a, int &b) { a = a^b; b = a^b; a = a^b; } int main() { int a = 5; int b = 3; swap(a, b); cout << a << endl; cout << b << endl; system(" 阅读全文
posted @ 2021-12-10 19:40 lydstory 阅读(25) 评论(0) 推荐(0)

2021年12月9日

摘要: using namespace std; #include <stdint.h> class CThread { }; class Runnable { public: virtual ~Runnable(){} virtual void Run(CThread * thread, void * a 阅读全文
posted @ 2021-12-09 20:50 lydstory 阅读(15) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/fengbingchun/article/details/39667571 阅读全文
posted @ 2021-12-09 19:27 lydstory 阅读(36) 评论(0) 推荐(0)
摘要: 明明已经加了头文件 #include <sys/syscall.h> #include <sched.h> #include <sys/resource.h> 编译还是报错 error: ‘syscall’ was not declared in this scope 参考https://blog. 阅读全文
posted @ 2021-12-09 19:16 lydstory 阅读(228) 评论(0) 推荐(0)
摘要: 如果出现这种报错config.status: error: cannot find input file: src/Makefile.in,就在configure 之前执行如下命令 aclocallibtoolize –forceautomake –add-missingautoconfautohe 阅读全文
posted @ 2021-12-09 18:59 lydstory 阅读(724) 评论(0) 推荐(0)
摘要: private: Packet(const Packet&); Packet& operator=(const Packet&); 阅读全文
posted @ 2021-12-09 18:23 lydstory 阅读(31) 评论(0) 推荐(0)
摘要: 一个类 A 可以将另一个类 B 声明为自己的友元,类 B 的所有成员函数就都可以访问类 A 对象的私有成员。在类定义中声明友元类的写法如下: friend class 类名; 来看如下例程: class CCar { private: int price; friend class CDriver; 阅读全文
posted @ 2021-12-09 18:13 lydstory 阅读(26) 评论(0) 推荐(0)

2021年12月8日

摘要: pandora潘多拉 阅读全文
posted @ 2021-12-08 19:56 lydstory 阅读(17) 评论(0) 推荐(0)
摘要: https://cloud.tencent.com/developer/article/1488120 阅读全文
posted @ 2021-12-08 19:40 lydstory 阅读(42) 评论(0) 推荐(0)

2021年12月7日

摘要: AT91RM9200 dsp 半导体 Atmel fpga dsp ucos 阅读全文
posted @ 2021-12-07 19:34 lydstory 阅读(34) 评论(0) 推荐(0)
上一页 1 ··· 308 309 310 311 312 313 314 315 316 ··· 618 下一页

导航