摘要: //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 阅读全文
posted @ 2013-11-17 09:38 Azik 阅读(563) 评论(0) 推荐(0) 编辑
摘要: #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*... 阅读全文
posted @ 2013-11-17 00:55 Azik 阅读(251) 评论(0) 推荐(0) 编辑