中间遇到的问题:1,make的时候,提示gui/x.cc:42:22: error:
X11/Xlib.h: No such file or direct解决:yum install libX11-devel2, error:
X11/xpm.h: No such file or directory...
分类:
其他好文 时间:
2014-06-16 11:06:23
阅读次数:
384
1 /*** 2 * Licensed to the Apache Software
Foundation (ASF) under one or more 3 * contributor license agreements. See the
NOTICE file distribut...
分类:
编程语言 时间:
2014-06-16 10:37:31
阅读次数:
287
#define NDEBUG#include #include int main(int
argc, char *argv[]){ assert(0); printf("%s\n", argv[argc - 1]);//路径到.exe
printf("%s\n", __FILE__...
分类:
其他好文 时间:
2014-06-12 09:00:40
阅读次数:
237
1 新建ATL工程,默认选项:动态链接库(DLL)2 右键单击工程添加一个新的类,ATL->
ATL简单对象 默认下一步完成。 能够看到类视图中出现了刚刚建立的接口。3 右键单击接口->添加方法
填写方法名和参数属性,下一步完成。注意out必须为指针类型如 int* 是否选择retval 会对返回....
分类:
其他好文 时间:
2014-06-12 08:11:45
阅读次数:
233
Simplify PathGiven an absolute path for a file
(Unix-style), simplify it.Given an absolute path for a file (Unix-style),
simplify it.For example,path=...
分类:
其他好文 时间:
2014-06-12 07:51:29
阅读次数:
264
在androidproject中编译C++时,找不到头文件,报错例如以下:fatal
error: string: No such file or directory解决该问题须要在Android.mk文件里:LOCAL_C_INCLUDES
:= \ bionic \ external/stlpo...
分类:
编程语言 时间:
2014-06-12 06:54:25
阅读次数:
387