摘要:
//LibHelloWorld.hvoid SayHelloWorld(char * name);//HelloWorld.c#include #include "LibHelloWorld.h"void SayHelloWorld(char * name){ printf("Hello,%s!\n",name);}gcc -O0 -g3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"HelloWorld.d" -MT"HelloWorld.d" -o"He 阅读全文
摘要:
#include #include #include #include int main(int argc, char* argv[]) { //declare DB_ENV *ptr_db_env; DB *ptr_db; DBT key, data; u_int32_t env_flags, db_flags; FILE *fptr_db_env_err_log, *fptr_db_err_log; int ret; int sel; int userid; char *username; username = (char*... 阅读全文