#include #include #include #include #include
#define BUFF_LEN 1024using namespace std;long file_len(string file_name);void
init(string file_name){}voi...
分类:
其他好文 时间:
2014-07-22 23:00:54
阅读次数:
190
有关批处理脚本中,copy命令与xcopy命令在用法上的一些区别。原文地址:http://www.jbxue.com/article/14536.htmlCopy与Xcopy的区别一,copy不能在有子目录存在的文件中拷贝文件的同时重命名此文件名说明,这里C:为根目录,bat为子目录),而xcopy...
分类:
其他好文 时间:
2014-07-22 23:00:54
阅读次数:
293
//UIAlertView的代理方法(创建UIAlertView之后,copy此代理方法即可)-
(BOOL)alertViewShouldEnableFirstOtherButton:(UIAlertView *)alertView{
//1.取出输入框中的文字 NSString *text .....
分类:
其他好文 时间:
2014-07-22 23:00:34
阅读次数:
330
原pom.xml配置文件: 4.0.0 com.my.helloworld hello-world
1.0-SNAPSHOT Maven Hello World Project junit jun...
分类:
其他好文 时间:
2014-07-22 22:59:36
阅读次数:
374
本文以康哥的博客为基础进行修改和补充,详见:http://kangfoo.github.io/article/2014/01/hadoop1.x-wordcount-fen-xi/hadoop
mapreduce 过程粗略的分为两个阶段: 1.map; 2.redurce(copy, sor...
分类:
其他好文 时间:
2014-05-02 00:06:57
阅读次数:
553
用sudo时提示"xxx is not in the sudoers file. This
incident will be
reported.其中XXX是你的用户名,也就是你的用户名没有权限使用sudo,我们只要修改一下/etc/sudoers文件就行了。
下面是修改方法:1)进入超级用户模式。也...
分类:
其他好文 时间:
2014-05-01 22:46:43
阅读次数:
465
#include void pr_stdio(const char *, FILE *);int
main(){ FILE *fp; fputs("enter any character\n",stdout); if(getchar()==EOF)
printf("getchar error");....
分类:
其他好文 时间:
2014-05-01 20:18:16
阅读次数:
321
示例代码使用C++来开发WPF,主要是如何在MFC(Win32)的窗口中Host
WPF的Page。下面我就做个详细的介绍.一、创建工程, 由于MFC的Wizard会生成很多用不到的代码,所以我准备从一个空的工程开始创建一个MFC的工程。a)
打开VS2005,菜单File->New->Projec...
分类:
编程语言 时间:
2014-05-01 19:26:41
阅读次数:
371
1: 新项目创建 1.下载最新Python,安装 2.解压引擎包
3.运行终端,切换到引擎目录(直接cd拖动文件夹到光标即可得到路径) 4.按照文档例子: $ cd cocos2d-x $ ./setup.py $
source FILE_TO_SAVE_S...
分类:
其他好文 时间:
2014-05-01 19:16:21
阅读次数:
319
本文大部分参考引用加copy:http://blog.chinaunix.net/uid-20761674-id-74962.html本文的受众如果你遇到了以下问题,那么你应该阅读这篇文章我听说过这种技术,我对它很感兴趣我想在家里访问我在公司的机器(写程序,查数据,下电影)。公司为了防止我们用XX软...
分类:
其他好文 时间:
2014-05-01 18:59:39
阅读次数:
489