会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Yuan Ping
首页
新随笔
联系
订阅
管理
2015年11月16日
HAXM is not working and emulator runs in emulation mode
摘要: 手动安装C:\Users\xxxx\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe详细参考如下文章:http://my.oschina.net/1p...
阅读全文
posted @ 2015-11-16 23:46 Yuan Ping
阅读(781)
评论(0)
推荐(0)
2015年4月17日
NetBeans启动tomcat报错问题
摘要: 问题描述:NetBeans8.0.2版本,配置好tomcat服务器后,在IDE中启动就报如下错误:'127.0.0.1'不是内部或外部命令,也不是可运行的程序解决方法:tomcat/bin下catalina.bat文件中196,201的set语句引号去掉,这是tomcat8.0.12以后一处修改,会...
阅读全文
posted @ 2015-04-17 22:53 Yuan Ping
阅读(455)
评论(0)
推荐(0)
2014年8月30日
Linux aptitude 命令
摘要: aptitude 与 apt-get 一样,是 Debian 及其衍生系统中功能极其强大的包管理工具。与 apt-get 不同的是,aptitude 在处理依赖问题上更佳一些。举例来说,aptitude 在删除一个包时,会同时删除本身所依赖的包。这样,系统中不会残留无用的包,整个系统更为干净。以下是...
阅读全文
posted @ 2014-08-30 22:02 Yuan Ping
阅读(1755)
评论(0)
推荐(0)
2014年7月30日
设置控件的视觉效果(Win32)
摘要: 默认控件的视觉效果如下:在程序中添加如下代码:#pragma comment(linker,"\"/manifestdependency:type='win32' \ name='Microsoft.Windows.Common-Controls' \ version='6.0.0.0' \ ...
阅读全文
posted @ 2014-07-30 23:28 Yuan Ping
阅读(469)
评论(0)
推荐(1)
2013年9月15日
C/C++ 通用 Makefile
摘要: Generic Makefile for C/C++ Program==================================================Keywords: Makefile, make, Generic, C/C++Author: whyglinux (whyglinux AT hotmail DOT com)Date: 2006-03-04==================================================本文提供了一个用于对 C/C++ 程序进行编译和连接以产生可执行程序的通用 Makefile。在使用 Makefile 之前
阅读全文
posted @ 2013-09-15 22:46 Yuan Ping
阅读(404)
评论(1)
推荐(0)
2013年6月26日
求M的N次方的后三位
摘要: 1 #include 2 #include 3 using namespace std; 4 int main(int argc, char *argv[]) 5 { 6 int x, y; 7 cin >> x >> y; 8 9 int result = 1;10 for(int i=0; i<y; i++)11 result = result * x % 1000;12 13 cout << result << endl;14 15 system("PAUSE");16 return ...
阅读全文
posted @ 2013-06-26 22:24 Yuan Ping
阅读(906)
评论(0)
推荐(0)
2013年6月10日
Eclipse设置Tab键为空格
摘要: 今天设置Eclipse中按Tab键为4个空格,这里标记下!Window-->Preferences-->Java-->Code Style-->Formatter然后右边选择 Edit...按钮,在General Settings页中 Tab policy 右边的下拉框,选择Space only!然后下面的Indentation size 和 Tab size 都设置成你要的空格数即可!一般是4个空格!!注意:3.6之前版本好像设置Window-->Preferences-->General-->Editors-->Text Editors右边的
阅读全文
posted @ 2013-06-10 15:55 Yuan Ping
阅读(396)
评论(0)
推荐(0)
debian dos2unix
摘要: debian系统打开Windows下生成的文本文件,会在每行的末尾出现’^M’原因就是Windows和Linux的回车符是不同的在Windows下回车符是\r\n回车换行在Linux下回车符是\n最简单、最常用的解决方法是使用dos2unix命令转换:dos2unix filenamedebian下dos2unix和unix2dos命令在tofrodos包中安装:apt-get install tofrodos安装完之后用dos2unix和unix2dos发现还是不能用,原来是debian里已经不再用这个命令啦,$ dpkg -L tofrodos/./usr/usr/bin/usr/bin/
阅读全文
posted @ 2013-06-10 15:49 Yuan Ping
阅读(373)
评论(0)
推荐(0)
2013年5月29日
debian怎样打开rar文件
摘要: 1.下载rarwget http://www.rarlab.com/rar/rarlinux-3.5.1.tar.gz或直接点这个链接(http://www.rarlab.com/rar/rarlinux-3.5.1.tar.gz)下载2.解压缩:右击解压或 $tar -zxvf rarlinux-3.5.1.tar.gz3.目录下的rar、unrar、rar_static 都放到$PATH的某个目录下,比如/usr/local/bin或者~/bin其实这一步可以用 $make$make install 代替4.这时rar就安好了,但是我装了之后不能用,用$ldd -v unrar 查看,结果
阅读全文
posted @ 2013-05-29 00:17 Yuan Ping
阅读(815)
评论(0)
推荐(0)
2013年5月26日
如何使用emacs编写c语言程序,并编译运行之
摘要: vi和emacs被分别被称为编辑器之神和神之编辑器。vi的入门精通都很难,emacs入门容易,精通难;vi使用起来不停地切换模式,而emacs则不停地ctrl,meta等组合键。因此,高德纳大师说操作Emacs,就像弹奏管风琴。vi是有模式的,因此他很少使用组合键,编辑起来确实要高效,而我厌烦不停的模式切换。选择了emacs。很巧,在国外,几乎所有的大师都是使用emacs的,James Gosling们(Java语言设计者),Donald Knuth们(),Jamie Zawinski们,Eric Benson们。我觉得真正的工程师用Emacs。emacs是那种能让你用上100年的编辑器。接下
阅读全文
posted @ 2013-05-26 00:42 Yuan Ping
阅读(792)
评论(0)
推荐(0)
下一页