资源简介
基于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例
- 下一篇:有限差分模拟电磁波场
相关资源
- C语言销售管理系统源代码
- C语言编写双人剪刀石头布联机游戏代
- 编码:隐匿在计算机软硬件背后的语
- C语言遍历文件下指定后缀文件(包括
- HLS:C语言转换FPGA教程ug871
- 北航考研C语言复习资料
- C语言程序设计第二版--谭浩强PDF
- HT66Fxx flash 单片机原理与应用C语言版
- 编程精粹:编写高质量C语言代码(高清
- C语言编写TCP服务器
- PJSIP SIP协议栈C语言
- C语言 题库 计算机二级考试题库 几
- 2048游戏 - 数据结构(C语言)课程设计
- 算法精解:C语言描述中文高清完整版
- 数据结构c语言严蔚敏第一版
- 哈工大苏小红 C语言课件
- c语言实现http服务器浏览器实时刷新数
- MSP430系列单片机实用C语言程序设计
- 支持向量机C语言程序
- B4i(Basic4iOS) v2.5用basic语言写苹果
- socket C语言编写 客户端和服务器端程
- 图像处理C语言(读入图像,直方图均
- c语言国际标准 c89 c90 ISO.IEC 9899.1990 英
- C语言 tcp数据包重组
- C语言的窗口式图形界面案例
- 《数据结构与算法分析:C语言描述》原
- 华北电力大学C语言程序设计考研笔记
- Linux下C语言FLV文件拆解成h264视频流和
- 蓝桥杯C语言历年真题及相关资料
- 6个C语言实现的常用软PLC功能块函数
评论
共有 条评论