ChinaUnix.net
相关文章推荐:

undeclared herenot in a function

想用copy的方法把deque的元素输出,结果就是报错 ,大家看看怎么回事? 代码: [gag@genomic-server cpp]$ more deque.cpp #include ; #include ; #include ; #include ; #include ; using namespace std; int main() { deque; coll; vector; a; coll.assign( 3 , string("string")); coll.push_back ( "last string" ); col...

by gunguymadman - C/C++ - 2004-06-17 11:24:32 阅读(2312) 回复(2)

相关讨论

昏, 看到gtk+-2.0教程第一个实例,自己尝试着编译就出错了 .. 系统:debian [code] #include int main(int argc,char* argv[]) { gtkwidget *window; //gtkwidget 绝大多数可视组建的基类 gtk_int(&argc,&argv); //对传入的命令行参数进行标准化处理 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); //创建窗口 // gtk_window_set_title(GTK_WINDOW(window),"Hello ,Linux"); //窗口...

by 饭饭 - GUI编程 - 2008-07-17 18:27:09 阅读(5044) 回复(4)

我写了一个很简单的测试看一个指针是不是为空,怎么提示我 null没有定义?

by meagle2005 - C/C++ - 2005-12-24 13:04:45 阅读(18354) 回复(7)

[color="#000000"]自定义的函数: [color="#990000"]函数执行: 实例: 取得IP所对应的DNS名称 (IP -> FQDN) [color="#000000"]$host= gethost($ip); echo "hostname: $host"; ?> 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/28922/showart_345382.html

by atyu30 - BSD文档中心 - 2007-07-23 23:11:59 阅读(1133) 回复(0)

一个自定义脚本运行时需要调用另外一个自定义脚本?可以把被调用的脚本写成一个function放到要调用它的脚本中吗?

by ha_ - Shell - 2006-02-14 11:17:48 阅读(1139) 回复(5)

我在编译802.1x认证服务器freeradius-2.1.3的时候,里面要编译一个python的程序,文件名为rlm_python.c,出现了很多变量未声明的错误。此文件引入了#include 文件 python用的是redhat9自带的python-2.2,不知是不是版本太低了。 那位帮忙看一下,错误如下, rlm_python.c: In function `python_error': rlm_python.c:163: `PyGILState_STATE' undeclared (first use in this function) rlm_python.c:163: (Each undecla...

by qinquan - Python - 2008-12-10 14:59:17 阅读(1892) 回复(0)

#include #include #include int main() { printf("%d\n",sizeof(long)); printf("%d\n",sizeof(off64_t)); printf("%d\n",sizeof(long long)); } a.c:8: error: ‘off64_t’ undeclared (first use in this function) a.c:8: error: (Each undeclared identifier is reported only once a.c:8: error: for each function it appears in.) 请问为什么不能用off64_t ? off64_t 和long long有什么...

by darkslack - C/C++ - 2011-12-28 19:50:58 阅读(10904) 回复(5)

`INADDR_ANY' undeclared (first use in this function) google 了也没找到有线索的东西. 不知道是哪的原因 ? 还有这个: storage size of `server_addr' isn't known 谢谢.

by bst - C/C++ - 2005-04-04 18:47:02 阅读(4997) 回复(3)

I want to find /home/user/test/temp.txt . use find as followed: find -name temp.txt -print //error why?

by hr_it - C/C++ - 2008-09-10 17:11:10 阅读(1314) 回复(3)

String reverse(String arg) { if(arg.length == 0) { return arg; } else { return reverse(arg.substring(1, arg.length)) + arg.substring(0,1); }} 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/29993/showart_384406.html

by dealover - Java文档中心 - 2007-09-18 13:57:23 阅读(747) 回复(0)

mmap() function和malloc() function有什么区别 呢?什么时候我们可以用mmap() function呢?它有什么好处呢?

by zhn636 - C/C++ - 2007-08-29 09:12:49 阅读(2849) 回复(8)