#include using namespace std;int main(int argc, char *argv[]){ int i,n,m; char data1[10][20],data2[10][20]; scanf("%d",&n); for (i=0;i...
分类:
其他好文 时间:
2014-08-01 04:42:41
阅读次数:
239
//重新整理的比较清楚的opencv框架#include "stdafx.h"#include #include #include using namespace std;using namespace cv;int _tmain(int argc, _TCHAR* argv[]){ Mat las...
分类:
其他好文 时间:
2014-07-31 23:29:50
阅读次数:
343
转载: http://blog.sina.com.cn/s/blog_4b6f784001011yvh.html例子:#include int main(int argc,char *argv[]){ int i = argc; printf("argc:%d\n",i); for(i = 0;i ...
分类:
数据库 时间:
2014-07-31 20:36:17
阅读次数:
294
int main(int argc, char* argv[]){ cout<<"Hello!"<<endl; return 0;}hehe
分类:
其他好文 时间:
2014-07-31 16:46:36
阅读次数:
218
标准c#include int main(int argc, char *argv[]){ long int x; while(scanf("%ld",&x)!=EOF) // while(scanf("%ld",&x)==1) { printf("%d\n",x*x); } return 0;}....
分类:
其他好文 时间:
2014-07-30 00:58:12
阅读次数:
255
vs2008 调试报错#include "stdafx.h"int _tmain(int argc, _TCHAR* argv[]){ FILE *fp,*ofp; void filecopy(FILE *,FILE *); if(argc == 1) filecopy(stdin,stdout)....
分类:
其他好文 时间:
2014-07-30 00:51:52
阅读次数:
228
#include #include using namespace std;void _tmain(int argc, TCHAR *argv[]){ int line = __LINE__; string filename = __FILE__; cout<<"the line is:"<<lin...
分类:
编程语言 时间:
2014-07-29 21:04:12
阅读次数:
210
//数字对象的创建与使用
//main.m
#import<Foundation/Foundation.h>
int?main(int?argc,?const?char?argv[])
{
????@autoreleasepool{
????????//创建一个NSNumber“数字对象”
???????...
分类:
其他好文 时间:
2014-07-29 16:20:29
阅读次数:
236
解析根据文件里面的内容,读入一个城市,输出所在首字母
比如读入 长春 输出 c
读入 北京 输出 b
不知道文本中的字体是什么格式 读取文件时 程序不能正确运行
运用oc中的字典
initWithObjectsAndKeys 初始化 用值和键
#import
int main(int argc,const char *argv[])
#define PATH @"/Users...
分类:
其他好文 时间:
2014-07-28 15:59:23
阅读次数:
397