資源簡介
基于C語言和SQL SERVER數據庫實現的圖書管理系統
代碼片段和文件信息
/*?=====?adminfunction.c?=====*/
/*?=====?NT?doesn‘t?need?the?following...?*/
#ifndef?WIN32
#define?WIN32
#endif
#define?_loadds
#define?_SQLPREP_
#include?
#include?
#include?
#define?SQLLENMAX(x)??????(?((x)?>?32767)???32767?:?(x)?)
short?ESQLAPI?_loadds?sqlaaloc(
unsigned?short?usSqlDaId
unsigned?short?sqld
unsigned?short?stmt_id
void?far?*spare);
short?ESQLAPI?_loadds?sqlxcall(
unsigned?short?usCallType
unsigned?short?usSection
unsigned?short?usSqldaInId
unsigned?short?usSqlDaOutId
unsigned?short?usSqlTextLen
char?far?*lpszSQLText);
short?ESQLAPI?_loadds?sqlacall(
unsigned?short?usCallType
unsigned?short?usSection
unsigned?short?usSqldaInId
unsigned?short?usSqlDaOutId
void?far?*spare);
short?ESQLAPI?_loadds?sqladloc(
unsigned?short?usSqldaInId
void?far?*spare);
short?ESQLAPI?_loadds?sqlasets(
unsigned?short?cbSqlText
void?far?*lpvSqlText
void?far?*spare);
short?ESQLAPI?_loadds?sqlasetv(
unsigned?short?usSqldaInId
unsigned?short?sqlvar_index
unsigned?short?sqltype
unsigned?short?sqllen
void?far?*sqldata
void?far?*sqlind
void?far?*spare);
short?ESQLAPI?_loadds?sqlastop(
void?far?*spare);
short?ESQLAPI?_loadds?sqlastrt(
void?far?*pid
void?far?*spare
void?far?*sqlca);
short?ESQLAPI?_loadds?sqlausda(
unsigned?short?sqldaId
void?far?*lpvSqlDa
void?far?*spare);
extern?struct?tag_sqlca?far?sql_sqlca;
extern?struct?tag_sqlca?far?*sqlca;
struct?sqla_program_id2?{?
unsigned?short?length;?
unsigned?short?rp_rel_num;?
unsigned?short?db_rel_num;?
unsigned?short?bf_rel_num;?
unsigned?char??sqluser[30];?
unsigned?char??sqlusername[30];
unsigned?char??planname[256];?
unsigned?char??contoken[8];?
unsigned?char??buffer[8];?
};?
static?struct?sqla_program_id2?program_id?=?
{340200“??????????????????????????????““““adminfunction““1111XQM5““????????“};
static?void?far*?pid?=?&program_id;
#line?1?“adminfunction.sqc“
#line?1?“Library.h“
#line?1?“D:\\VC98\\INCLUDE\\stdio.h“
#pragma?once
#line?18?“D:\\VC98\\INCLUDE\\stdio.h“
#line?25?“D:\\VC98\\INCLUDE\\stdio.h“
#pragma?pack(push8)
#line?34?“D:\\VC98\\INCLUDE\\stdio.h“
#line?49?“D:\\VC98\\INCLUDE\\stdio.h“
#line?50?“D:\\VC98\\INCLUDE\\stdio.h“
#line?57?“D:\\VC98\\INCLUDE\\stdio.h“
#line?66?“D:\\VC98\\INCLUDE\\stdio.h“
#line?67?“D:\\VC98\\INCLUDE\\stdio.h“
typedef?unsigned?int?size_t;
#line?73?“D:\\VC98\\INCLUDE\\stdio.h“
typedef?unsigned?short?wchar_t;
#line?80?“D:\\VC98\\INCLUDE\\stdio.h“
typedef?wchar_t?wint_t;
typedef?wchar_t?wctype_t;
#line?87?“D:\\VC98\\INCLUDE\\stdio.h“
#line?88?“D:\\VC98\\INCLUDE\\stdio.h“
typedef?char?*??va_list;
#line?99?“D:\\VC98\\INCLUDE\\stdio.h“
#line?101?“D:\\VC98\\INCLUDE\\stdio.h“
#line?108?“D:\\VC98\\INCLUDE\\stdio.h“
#line?110?“D:\\VC98\\INCLUDE\\stdio.h“
#line?141?“D:\\VC98\\INCLUDE\\stdio.h“
struct?_iobuf?{
????????char?*_ptr;
????????int???_cnt;
????????c
- 上一篇:C++經典程序100例
- 下一篇:有限差分模擬電磁波場
評論
共有 條評論