12 2020 档案
摘要:红板报App首页翻折效果: 思路参考: http://blog.sina.com.cn/s/blog_7011f21c0101a95a.html 现有代码参考:https://github.com/adow/WKFlipsView Flipboard 页面设计历史:https://www.sj33.
阅读全文
摘要:参考了https://www.cnblogs.com/kolane/p/12057744.html 使用终端安装 用Xcode新建C++项目 需要配置一下boost的路径 完了就能正常使用: #include <iostream> #include <boost/lambda/lambda.hpp>
阅读全文
摘要:函数重载:同一作用域,函数名相同,参数个数,参数数据类型不同作用域+返回类型+函数名+参数列表无法按返回值类型区分遇到默认参数的函数要注意二义性实参的个数可以不等于形参吗?C++里不行
阅读全文
摘要:一般我们打开一个C写的库,比如cJSON.h这个文件: #ifndef cJSON__h #define cJSON__h #ifdef __cplusplus extern "C" { #endif C声明部分XXXXXXXXXXXXXXXX #ifdef __cplusplus } #endif
阅读全文
摘要:code: #include <iostream> int main(int argc, const char * argv[]) { // insert code here... std::cout << "Hello, World!\n"; int age = 10; const int *p0
阅读全文