码迷,mamicode.com
首页 >  
搜索关键字:create file    ( 79755个结果
给文件简单加密
#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
maven File encoding has not been set
原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
is not in the sudoers file解决方法
用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
关于mysql中or条件和索引
参考boke:http://blog.csdn.net/hguisu/article/details/71061591 .where 语句里面如果带有or条件, myisam表能用到索引, innodb不行。(在mysql5.6下测试如此)CREATE TABLE IF NOT EXISTS `a`...
分类:数据库   时间:2014-05-01 20:58:57    阅读次数:601
CCS v5 无法启动解决办法及Launchpad仿真器电脑无法识别解决方法
安装ccs_setup_5.1.1.00028.exe后(无论是自己装eclipse还是在原来的基础上安装eclipse的插件),ccs5的应用无法打开,错误为:An error has occurred.See the log file .\workspace\.metadata\.log.本现象...
分类:其他好文   时间:2014-05-01 20:57:36    阅读次数:888
判断标准I/O的缓冲区类型
#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,Step by Step
示例代码使用C++来开发WPF,主要是如何在MFC(Win32)的窗口中Host WPF的Page。下面我就做个详细的介绍.一、创建工程, 由于MFC的Wizard会生成很多用不到的代码,所以我准备从一个空的工程开始创建一个MFC的工程。a) 打开VS2005,菜单File->New->Projec...
分类:编程语言   时间:2014-05-01 19:26:41    阅读次数:371
[cocos2dx 3.0 + xcode]坑点记录
1: 新项目创建 1.下载最新Python,安装 2.解压引擎包 3.运行终端,切换到引擎目录(直接cd拖动文件夹到光标即可得到路径) 4.按照文档例子: $ cd cocos2d-x $ ./setup.py $ source FILE_TO_SAVE_S...
分类:其他好文   时间:2014-05-01 19:16:21    阅读次数:319
网络音乐播放
1、权限2、代码播放:new Thread(){ public void run(){ mediaPlayer=MediaPlayer.create(MainActivity.this, Uri.parse(wangZhi)); try{ URL myURL...
分类:其他好文   时间:2014-05-01 18:45:24    阅读次数:288
[TroubleShooting] The remote copy of database xx has not been rolled forward to a point in time
Steps: 1. backup database DBmirror on SQL1 2. backup database log 3. copy db and log backup files to SQL2 4. restore db with norecovery 5. restore log with norecovery 6. create endpoints on both...
分类:数据库   时间:2014-04-30 22:15:38    阅读次数:414
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!