ChinaUnix.net
相关文章推荐:

ocal variable 'max' used without having been initialized

原始标题:VC [C4700] 错误,无法解决 [code] #include #define max 100 #define NULL 0 struct stack /*定义栈存储结构*/ {int data_stack[max]; int top; }; typedef struct stack STACK; STACK *createstack(void) /*创建一个栈*/ {STACK *s; int len,i,num; printf("\n\n请输入单链表的长度:"); scanf("%d",&len); s->top=len; printf("\n↓请输入顺序表的数据↓...

by jihuaneva - C/C++ - 2006-12-29 16:00:36 阅读(9499) 回复(9)

相关讨论

[code]public class ScoreLevel { public static void main(String args[]) { int TestScore=97,Level; char Grade; Level=9; switch(Level) { case 10: case 9: Grade='A'; System.out.println(Grade); break; case 8: Grade='B'; break; case 7: Grade='C'; ...

by qing - Java - 2005-10-08 20:15:59 阅读(2369) 回复(9)

本帖最后由 zhuomingliang 于 2010-05-26 13:17 编辑 hello 我声明了 一个宏 #define ASSERT_ARGS(a) int _ASSERT_ARGS_CHECK =0 然后在函数里面使用 void main(args) { ASSERT(args); int i = 0; i++; } 但是用MSVC编译会出现 warning C4189: '_ASSERT_ARGS_CHECK' : local variable is initialized but not referenced 警告,如何局部地绕过这个警告? 已解决 http://bbs.chinaunix.net/redirect.php...

by zhuomingliang - C/C++ - 2009-01-09 14:20:41 阅读(6844) 回复(15)

请教高手。 为什么max_used_connections有好几百。 用show processlist看总是只有几个进程呢? max_used_connections指的是最高连接数,如何查看当前连接数?

by 林泥克斯 - MySQL - 2006-06-21 20:53:33 阅读(7486) 回复(2)

请问:什么时侯该用$variable,什么时侯该用${variable}啊?

by steal - Shell - 2003-11-16 14:56:29 阅读(1166) 回复(6)

Hi All, Need you guys advise urgently. Let's say I got an object where there is 1 static instance variable, which going to set and get by 2 static methods. Since static method is not required to instantiate the object before we can use so any possibility JVM will clear the value of the static instance variable when it's trigger the Garbage Collector? FYI, I'm using this static method in my struts...

by toms1981 - Java - 2008-08-20 10:25:02 阅读(2266) 回复(5)

If the pattern matches the beginning of the variable's value, delete the shortest part that matches and return the rest. 题目上的代码是这么解释的 $ x=supercalifragilisticexpialidocious A famous word with amazing properties $ echo There are ${#x} characters in $x There are 34 characters in supercalifragilisticexpialidocious 可是为什么${#x} 是返回X变量的长度?? 并且前面可以不用使用这种新式va...

by oxbat - Shell - 2007-10-20 13:36:19 阅读(1420) 回复(4)

contact me by phone 01088421871 68423671 @SUN SAN 套件 Qlogic 2200 +SunA5000*14硬盘箱+72G光纤硬盘 *14+SUN 光纤HUB370-3012+IBM 模块*3(370-2303) 大量光纤模块 批发130元零售150元 易嘉提供SUN 易嘉提供SUN E4500/3000 E450/250/420r/220r netra T 1100/U60,u30,u10,u5,u2,u1 @SUN E4500/3000 cpu*6-12 400mhz/8Mcache/3-24G memory/ 73G*2scsi/DDS4 tape @SUNfire420r cpu*2-4 450MHz 4M cache*2/1-4G Mem...

by guardshen - Solaris - 2003-09-06 15:38:31 阅读(688) 回复(0)