- 博客(4)
- 收藏
- 关注
原创 字符串、数组相关经典编程题面试题
Implement an algorithm to determine if a string has all unique characters What if you can not use additional data structures? 如何判断字符串中是否有重复的字符?bool isUniqueChar(string s){ bool h[256]
2012-11-16 19:38:18 747
原创 jQuery实现文字轮播效果
function linkMarquee(lh,speed,delay){ var t; var p = false; o=$('#link_slide'); o.html(o.html()+o.html()); o.hover(fun
2011-07-29 14:26:41 2299 1
原创 在Linux(Ubuntu)下搭建Android开发环境
1.安装Eclipse在Ubuntu下直接到软件中心里搜一。2.安装ADT插件(1)打开Eclipse (2)点 Help->Install New Software3.安装SDK(1)下载(2)修改环境变量(3)下载SDK平台
2010-11-28 22:37:00 334
原创 MFC中从txt文件读入字符串并写入编辑框
<br />在MFC画一个编辑框并把ID设置为IDC_TEXT,然后画一个按钮,代码如下:<br />CFileDialog fileDlg(TRUE);if(fileDlg.DoModal() == IDOK){ CString str; CFile f; f.Open(fileDlg.GetFileName(),CFile::modeReadWrite); f.Read(str.GetBuffer(f.GetLength()),f.GetLength()); f.Close(
2010-10-25 21:53:00 1790 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人