上一页 1 ··· 6 7 8 9 10
  2012年9月15日
摘要: Part IIntroducing AndroidChapter 2 Key Concepts2.1 The Big Picture ◆.Linux Kernel Internally, Android uses Linux for its memory management, processmanagement, networking, and other operating system se... 阅读全文
posted @ 2012-09-15 13:57 Fra~~kaka 阅读(481) 评论(0) 推荐(1) 编辑
摘要: 1. 第一个原因,bash是sh的superset,可能使用的sh不支持[],换成bash,也许可以解决。2.ubuntu的sh默认解释器,是dash,所以明确指定为bash执行,或者修改默认解释器。方法:sudo dpkg-reconfigure dash选择no即可. 阅读全文
posted @ 2012-09-15 12:52 Fra~~kaka 阅读(3459) 评论(0) 推荐(0) 编辑
摘要: Ubuntu的默认开机的runlevel是2,可以用runlevel来查看当前的默认运行级别。debian系(ubuntu是基于debian)的Linux一直是用runlevel 2来默认启动,并且runlevel定义也与redhat有区别。debian的runlevel级别定义如下:0 - Halt1 - Single2 - Full multi-user with display manager (GUI)3 - Full multi-user with display manager (GUI)4 - Full multi-user with display manager (GUI)5 阅读全文
posted @ 2012-09-15 10:49 Fra~~kaka 阅读(329) 评论(0) 推荐(0) 编辑
摘要: ubuntu开启SSH服务SSH分客户端openssh-client和openssh-server如果你只是想登陆别的机器的SSH只需要安装openssh-client(ubuntu有默认安装,如果没有则sudo apt-get install openssh-client),如果要使本机开放SSH服务就需要安装openssh-serversudo apt-get install openssh-server然后确认sshserver是否启动了:ps -e |grep ssh如果看到sshd那说明ssh-server已经启动了。如果没有则可以这样启动:sudo /etc/init.d/ssh 阅读全文
posted @ 2012-09-15 10:33 Fra~~kaka 阅读(207) 评论(0) 推荐(0) 编辑
  2012年7月24日
摘要: 解决Visual C++ 6 绿色版 Gallery 目录为空的问题 1)Visual C++ 6 Components 目录包含了系统中注册的Visual C++ 组件(.DLL files)的快捷方式。Registered ActiveX Controls 目录包含的是所有在系统中注册的ActiveX控件(包括.OCX或者.DLL)的link。2)Visual C++ 6 Componets and controls的时候gallery文件夹为空的解决方案VC安装目录下的Common\MSDev98\Bin以及Common\MSDev98\Bin\IDE目录下的DLL都注册一遍。重新注册V 阅读全文
posted @ 2012-07-24 14:56 Fra~~kaka 阅读(1181) 评论(0) 推荐(0) 编辑
  2012年6月16日
摘要: 还是在destory的时候报的错,报错信息如下:发现问题:Windows 已在 SqStack.exe 中触发一个断点。 其原因可能是堆被损坏,这说明 SqStack.exe 中或它所加载的任何 DLL 中有 Bug。原因也可能是用户在 SqStack.exe 具有焦点时按下了 F12。输出窗口可能提供了更多诊断信息。----------------------------------确实百思不得其解,心想:堆怎么被我破坏了,什么时候破坏的呢,哎!没办法,只能一行一行看。结果发现:realloc的时候破坏了堆的结构,将指针移到了堆区的上面了,所以destroy的时候报错了。错误的代码块是:St 阅读全文
posted @ 2012-06-16 12:57 Fra~~kaka 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 前天在写线性表的时候,在测试过程中发现销线性表的时候报了一个这样的错:报的错误是:HEAP CORRUPTION DETECTED: before Normal block (#50) at 0x00392BF8. CRT detected that the application wrote to memory before start of heapbuffer.结果找了半天,是因为在删除元素的时候,将指针移动到堆初始位置的以下去了,结果报了这个错。修改好后的delete函数为:/* 初始条件:顺序线性表L已存在,1≤i≤ListLength *//* 操作结果:在L中第i个位置删除数据元 阅读全文
posted @ 2012-06-16 12:45 Fra~~kaka 阅读(1292) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10