上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 1、CUDAHOG代码调试 错误1: 错误提示:(main.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall cudaHOG::cudaHOGManager::cudaHOGManager(void)" (??0cudaHOGManager@cudaHOG@@QAE@XZ),该符号在函数 __catc... 阅读全文
posted @ 2014-03-31 16:27 yexuannan 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1、为什么printf之后数组的值会改变? #include const int N=8;int * Zigzag(){ int i=0,j=0,limit=0; int count=0; int cross=0; int a[N][N]; int (*p)[N]=a; for(cross=0;cross=0;i--) { ... 阅读全文
posted @ 2014-03-30 20:38 yexuannan 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 1、人生入戏,全靠演技;人生苦短,必须性感 2、youtube修改用户名 3、使用代理软件修改了IE的代理导致上不了网 阅读全文
posted @ 2014-03-29 15:20 yexuannan 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 命令行:table按键 阅读全文
posted @ 2014-03-28 16:34 yexuannan 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1、史建华代码调试 嵌入清单改为否,否则会出现以下错误: 所有输出均为最新。 1>LINK : warning LNK4075: 忽略“/INCREMENTAL”(由于“/OPT:ICF”规范) 1>LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏 1> 1>生成失败。 ... 阅读全文
posted @ 2014-03-27 15:53 yexuannan 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1、二维数组 http://col1.blog.163.com/blog/static/1909775192012514111830946/ int a[2][3]; a[0][0] a[0][1] a[0][2] a[1][0] a[1][1] a[1][2] ... 阅读全文
posted @ 2014-03-26 23:03 yexuannan 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 1、面试宝典题目: #includeusing namespace std;struct S{ int i; int *p;};void main(){ S s; int *q=&s.i; q[0]=4; q[1]=3; s.p=q; s.p[1]=1; s.p[0]=2;}2、数组指针与二级数组指针3、人体检测Human Detec... 阅读全文
posted @ 2014-03-25 20:57 yexuannan 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1、LBP and CSLBP2、再论char c[]=”hello world”和char *str=”hello world”的区别/**************代码1*********************/char *strA() { char str[]="hello world"; return str;}/****************代码2****************/const char *strA(){ char *str="hello world"; return str;}/***************代码3****** 阅读全文
posted @ 2014-03-24 17:02 yexuannan 阅读(1374) 评论(0) 推荐(0) 编辑
摘要: 1、在什么情况下必须用宏(比如想知道某种内置类型的有符号还是无符号) //比如想知道某种内置类型的是不是有符号类型#include#define ISUNSGINED(type) ((type)0-1>0) void main(){ printf("%d\n",ISUNSGINED(int)); printf("%d\n",ISUNSGINED(unsigned i... 阅读全文
posted @ 2014-03-22 20:45 yexuannan 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1、静态的数组空间char a[10];sizeof 不能用于1:函数类型 2:动态的数组空间new3:位字段 函数类型:int fun();sizeof(fun())计算的是返回类型的大小,并不是函数大小,函数要在运行时才知道其大小,而sizeof是编译时操符号 动态分配数组:sizeof()只是符号表,是编译的时候确定大小的。动态分配是运行过程中得到大小的,所以sizeof不能计算... 阅读全文
posted @ 2014-03-21 21:24 yexuannan 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页