- 博客(11)
- 资源 (8)
- 收藏
- 关注
原创 【Python】笔记:类继承问题总结
******注:此文不解释继承概念和Python继承的语法,只记录本人使用时的一些小心得和遇到的一些问题,不定期更新********【1】:Python的继承类似于c++里的公有继承,【私有成员】不能被派生类所继承,派生类无法访问基类的私有属性。
2015-08-30 12:10:38 414
原创 nodejs笔记1:问题杂记
*****npm不能安装软件,可以尝试使用以下镜像源:1:npm config set registry http://registry.npmjs.org/ 2:npm config set registry https://registry.npm.taobao.org *****express命令找不到,4.x以后版本记得安装express-generator(sudo npm
2015-06-25 10:52:48 268
原创 数据结构和算法(三):简单栈实现
#include #include #include using namespace std; class stack { public: stack() { top = -1; size = 10; memset (arr, 0, sizeof (arr)); } int push (int newData) { if (top >=
2015-03-12 15:30:20 379
原创 数据结构和算法(二):单链表
#include #include typedef struct Node { int iData; struct Node * next; }Node, *PNode; void DisplayList(PNode head); int AddNode(PNode *head, PNode newNode); PNode SearchNode(PN
2015-02-25 13:52:51 349
原创 数据结构和算法(一):冒泡排序和二分查找
#include int BinarySearch(int * arr, int length, int value);int BubbleSort(int *piArr, int iLen);int main(){ int iArr[10] = {1, 4, 3, 7, 10, 9, 5, 6, 8, 2}; BubbleSort(iArr, 10); int i = 0;
2015-02-25 13:48:28 412
原创 C++随记:【cstdio(25) : error C2143: syntax error : missing '{' before ':'】
编译提示:【cstdio(25) : error C2143: syntax error : missing '{' before ':'】,检查一下源文件的类型是*.c还是*.cpp。
2014-04-12 09:24:13 758
转载 C++随记:Debugging information for "Project.exe" cannot be found or does not match.
Error Msg:Debugging information for "Project.exe" cannot be found or does not match. Binary was not built with debug information.Resolution: To enable debugging:1) Goto Project->HelloWorl
2014-04-11 17:20:35 763
原创 Android随记(3):打开应用程序时,先白屏,然后加载界面
3.0或者4.0以上版本,在AndroidManifest.xml文件中,xiug节点下的 android:theme="@style/AppTheme" 去掉即可,
2014-04-10 19:09:02 534
原创 Android随记(2):android.os.NetworkOnMainThreadException
4.0以上版本,不能在主线程直接访问网络。解决
2014-04-10 19:05:29 398
原创 菜鸟stm32学习笔记(1)系统时钟初始化函数
系统初始化函数步骤:1:复位并配置寄存器向量表。2:置位CR第十六位,开启外部振荡器。3:检测CR第十七位,判断外部振荡器是否准备就绪。若就绪,硬件会置位十七位。*2和3设置的均是时钟控制寄存器。4:设置时钟配置寄存器CFGR的8-10位为100使得APB1的时钟频率低于36MHZ。因为连接APB1的外设要求APB1的时钟频率低于36MHZ,否则会导致器件不稳定。5:(PL
2013-03-03 21:44:57 1620
深度探索C++对象模型(高清带书签)
2014-05-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人