摘要: C: printf int __cdecl printf( const char* format, ... ) // ... 叫可变长参数/* * stdout 'PRINT' , 'F'ormatted */{#ifdef _M_ALPHAtypedef struct { char *a0; /* 阅读全文
posted @ 2021-12-30 13:37 焱啟㙓 阅读(63) 评论(0) 推荐(0)
摘要: class 与类:class分为两种,一种带指针,一种不带指针,不带指针的一般不需要有构析函数,带指针的需要. 参数传递与返回值:设计模式::Singleton(单例构造,外界仅允许用一份):class A{public: static A& getInstance(); // 注意static s 阅读全文
posted @ 2021-12-27 03:03 焱啟㙓 阅读(50) 评论(1) 推荐(0)