#include
by addictlinux - C/C++ - 2008-12-24 23:08:53 阅读(4487) 回复(5)
(原标题为:求解:一个菜鸟编程中的问题!)
编写了一个shell命令cp
代码如下:
#include
>; >; [root at localhost named]# useradd -g users mandy >; >; [root at localhost named]# passwd mandy >; >; Changing password for user mandy. >; >; New password: >; >; BAD PASSWORD: it is too short >; >; Retype new password: >; >; Failed to find entry for user mandy. >; >; >; >; passwd: Authentication token manipulation error 我想去改密码,可是改不了..但是可以正常登陆,这是为什么
typedef enum { false = 0, true = 1 } bool; 我运行完我的代码后,弹出问题:parse error before 'false' declaration does not declare anything 应该怎么进行修改呀~ 请高手指点一下。。谢谢哈~
我在头文件中定义 typedef struct { ...; }A; typedef struct { ...; }B; 在C文件中定义 int func() { A* pA = NULL; B* pB = NULL; ....; } 用gcc编译时报 parse error before `pA' parse error before `pB' 什么情况,真是郁闷
定义结构体: typedef struct trie_node { char *data; trie_node *branch[node_num]; }TRIE_NODE; 程序在如下函数编译中出错: parse error before `*' TRIE_NODE *initial_trie() { return NULL; } 请指点。。。多谢!
代码编译总是出错:部分代码如下:
#include
#include
db2 insert into DATACORE.ETL_LOGGER values (9999999,'20090411M_SV_ACCM_TIME_PROC','2009-04-11 10:0:55','2009-04-11 10:13:59','ok','M_SV_ACCM_TIME_PROC-success ','M_SV_ACCM_TIME_PROC_D','2009-04-11'); -bash: syntax error near unexpected token `(' 系统是cent linux ,数据库是db2 9 为什么会报这样的错误呢?~