----------------解决方案--------------------------------------------------------
调用的是程序而不是函数…… 这个我不会请指教。
----------------解决方案--------------------------------------------------------
是不是这个?
#include " "
----------------解决方案--------------------------------------------------------
能举个例子吗?
#include <stdio.h> 
#include <stdlib.h> 
int main(void) 
{ 
printf("Calling abort()\n"); 
abort(); 
return 0; /* This is never reached */ 
} 
#include <stdio.h> 
#include <io.h> 
int file_exists(char *filename);
int main(void) 
{ 
printf("Does NOTEXIST.FIL exist: %s\n", 
file_exists("NOTEXISTS.FIL") ? "YES" : "NO"); 
return 0; 
} 
int file_exists(char *filename) 
{ 
return (access(filename, 0) == 0); 
} 
#include <assert.h> 
#include <stdio.h> 
#include <stdlib.h> 
struct ITEM { 
int key; 
int value; 
}; 
/* add item to list, make sure list is not null */ 
void additem(struct ITEM *itemptr) { 
assert(itemptr != NULL); 
/* add item to list */ 
} 
int main(void) 
{ 
additem(NULL); 
return 0; 
} 
----------------解决方案--------------------------------------------------------