摘要: Deep Learning(深度学习) 学习笔记(一) http://blog.csdn.net/wangxinginnlp/article/details/17754173 Deep Learning(深度学习) 学习笔记(二) http://blog.csdn.net/wangxinginnlp 阅读全文
posted @ 2016-06-07 15:02 那时天空蓝 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 为什么要有成员函数 #include using namespace std;//c++的命名空间 class circle { public: double r; double pi = 3.1415926; double area = pi*r*r; }; // 2010编译不通过 但是在2013编译器能编译通过 int main() { circle c1... 阅读全文
posted @ 2016-05-30 16:09 那时天空蓝 阅读(131) 评论(0) 推荐(0) 编辑
摘要: /* #define _CRT_SECURE_NO_WARNINGS #include #include #include void main() { printf("hello...\n"); system("pause"); return ; } */ #include "iostream" //包含c++的头文件 //iostream.h usin... 阅读全文
posted @ 2016-05-30 16:09 那时天空蓝 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 类把属性和方法作了封装! 总结: 面向过程程序设计:数据结构 + 算法 主要解决科学计算问题,用户需求简单而固定 特点: 分析解决问题所需要的步骤 利用函数实现各个步骤 依次调用函数解决问题 问题: 软件可重用性差 软件可维护性差 构建的软件无法满足用户需求 面向对象程序设计:由现实世界建立软件模型 阅读全文
posted @ 2016-05-30 16:09 那时天空蓝 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-12-04 16:21 那时天空蓝 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include #include #include //两个辅助指针变量挖字符串, 的第三种内存模型 //指针做函数参数 void FreeMem(char **myp,int count) //释放内存函数 { int i=0; if(myp == NULL) { ... 阅读全文
posted @ 2015-11-30 21:30 那时天空蓝 阅读(195) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include #include #include //两个辅助指针变量挖字符串, 的第三种内存模型 //指针做函数参数 int spitString4(char *buf1,char c,char ***myp3,int *count) //**pp二级指针做输入 { char *p=NULL, ... 阅读全文
posted @ 2015-11-29 00:07 那时天空蓝 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #include #include #include //两个辅助指针变量挖字符串, 的第三种内存模型 char ** spitString3(char *buf1,char c,int *count) //**pp二级指针做输入 { char *p=NULL, *pTmp = NULL; int tmpcount = 0; char **myp... 阅读全文
posted @ 2015-11-25 23:38 那时天空蓝 阅读(279) 评论(0) 推荐(0) 编辑
摘要: #include #include #include //两个辅助指针变量挖字符串, 的第三种内存模型 int spitString2(const char * buf1,char c,char **myp/*in*/,int *count) //**pp二级指针做输入 { char *p=NULL, *pTmp = NULL; int tmpcount... 阅读全文
posted @ 2015-11-25 22:58 那时天空蓝 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include #include #include //有一个字符串符合以下特征(”abcdef,acccd,eeee,aaaa,e3eeeee,sssss,";) //分清楚赋值指针变量 和 操作逻辑之间的关系 int spitString(const char *buf1, char c, char buf... 阅读全文
posted @ 2015-11-20 21:27 那时天空蓝 阅读(387) 评论(1) 推荐(0) 编辑