学习心得感悟
海原浪子
iOS开发者,若有问题,qq312206577
展开
-
从 一道程序题 理解static变量、extern变量、全局变量
#include int count = 3; int main(void) { int i, sum, count = 2; for(i=0,sum=0; i<count; i+=2,count++) { static int count = 4; count++; if(i%2 == 0) { extern int count; cou原创 2012-11-06 23:03:36 · 702 阅读 · 0 评论 -
常见有关内存的笔试题
好几次碰见这样的笔试题了 void GetMemory(char *p) { p = (char *)malloc(100); } void Test(void) { char *str = NULL; GetMemory(str); strcpy(str, "hello world"); printf(str); } 请问运行Test 函数会有什么样的结果? 答:程序崩转载 2012-11-11 13:44:15 · 902 阅读 · 0 评论 -
Windows phone开发环境安装
安装Windows phone开发环境,直接百度Windows phone SDK,转接到微软官网,下载相应版本的sdk就可,点击vm_web安装即可,无需其他事情,只有这一步操作即可完成安装。原创 2013-09-12 09:50:14 · 915 阅读 · 0 评论