linux复制多个文件到文件夹cp file1 file2 file3 
directory即将文件file1 file2 file3复制到directory
                            
                            
                                分类:
系统相关   时间:
2014-05-14 03:03:22   
                                阅读次数:
251
                             
                    
                        
                            
                            
                                oracle 数据导入时imp 用户名/密码@服务名 file =文件路径.dmp fromuser= 
touser=执行命令之前应将数据库里面 myobject下的所有view 索引 存储过程 等删除掉 在执行命令 不然会报错
                            
                            
                                分类:
数据库   时间:
2014-05-14 03:00:18   
                                阅读次数:
345
                             
                    
                        
                            
                            
                                今天照着孙鑫老师的VC++教程学习文件的操作,VS2010,单文档应用程序,项目文件命名为File,也就有了自动生成的CFileDoc、CFileView等类,一进去就编译运行(就是最初自动生成的项目),编译通过,可运行时直接弹出错误框,有点小懵,,,啥都没做就给我看这个:图一 
错误提示框后来搜索....
                            
                            
                                分类:
其他好文   时间:
2014-05-12 21:34:45   
                                阅读次数:
375
                             
                    
                        
                            
                            
                                实例1:读写字符文件,每次读取一个字符。#include<stdio.h>#include<stdlib.h>intmain(){FILE*fpin;FILE*fpout;charc;fpout=fopen("c:\\dest.txt","wt");if((fpin=fopen("c:\\test.txt","rt"))!=NULL){c=fgetc(fpin);while(c!=EOF){fputc(c,fpout);c=fgetc(fpin);..
                            
                            
                                分类:
编程语言   时间:
2014-05-12 03:57:13   
                                阅读次数:
238
                             
                    
                        
                            
                            
                                实例3:读写字节文件,每次读入一个缓存里面。#include<stdio.h>#include<stdlib.h>#defineMAXLEN1024intmain(){FILE*fpin;FILE*fpout;unsignedcharbuf[MAXLEN];intc;fpout=fopen("c:\\dest.jpg","wb");if((fpin=fopen("c:\\test.jpg","rb"))!=NULL){c=fread(buf,s..
                            
                            
                                分类:
编程语言   时间:
2014-05-12 03:47:54   
                                阅读次数:
244
                             
                    
                        
                            
                            
                                1在mysql中默认是不会开启慢查询日志功能的,我们可以使用showvariableslike‘%slow%‘来查看一下。结果如下:参数说明:log_slow_queries表示服务器端是否开启慢查询日志记录功能,slow_query_log表示mysql监测满查询的功能是否开启,slow_query_log_file表示保存日志文件的物理..
                            
                            
                                分类:
数据库   时间:
2014-05-12 03:42:46   
                                阅读次数:
354
                             
                    
                        
                            
                            
                                实例2:读取字符文件,每次读入一个缓存里面。#include<stdio.h>#include<stdlib.h>#defineMAXLEN1024intmain(){FILE*fin;FILE*fout=fopen("c:\\dest.txt","wt");charbuf[MAXLEN];if((fin=fopen("c:\\test.txt","rt"))!=NULL){char*c=fgets(buf,MAXLEN,fin);while(..
                            
                            
                                分类:
编程语言   时间:
2014-05-12 02:57:48   
                                阅读次数:
251
                             
                    
                        
                            
                            
                                #include 
#include 
using namespace std;
#ifdef ONLINE_JUDGE                                   
#define FINPUT(file)  0
#define FOUTPUT(file) 0
#else                                           ...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 18:36:16   
                                阅读次数:
245
                             
                    
                        
                            
                            
                                读写本应用程序数据文件夹中的文件
        此种方法读写的文件在/data/data/中
        android 中提供了 openFileInput(String fileName)
 和 openFileOutput(String fileName, int mode) 两个方法来读取本应用程序数据文件夹中的文件和向其写入。
    openFileInput...
                            
                            
                                分类:
移动开发   时间:
2014-05-11 18:34:50   
                                阅读次数:
480
                             
                    
                        
                            
                            
                                #include 
#include 
using namespace std;
#ifdef ONLINE_JUDGE                                   
#define FINPUT(file)  0
#define FOUTPUT(file) 0
#else                                           ...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 18:33:34   
                                阅读次数:
246