资源简介
基于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语言模拟文件管理系统844
- C语言开发实战宝典
- C++中头文件与源文件的作用详解
- C语言代码高亮html输出工具
- 猜数字游戏 c语言代码
- C语言课程设计
- 数字电位器C语言程序
- CCS FFT c语言算法
- 使用C语言编写的病房管理系统
- 通信过程中的RS编译码程序(c语言)
- 计算机二级C语言上机填空,改错,编
- 用回溯法解决八皇后问题C语言实现
- 简易教务管理系统c语言开发文档
- 操作系统课设 读写者问题 c语言实现
- 小波变换算法 c语言版
- C流程图生成器,用C语言代码 生成C语
- 3des加密算法C语言实现
- 简单的C语言点对点聊天程序
- 单片机c语言源程序(51定时器 八个按
- 个人日常财务管理系统(C语言)
- c语言电子商务系统
- 小甲鱼C语言课件 源代码
- 将图片转换为C语言数组的程序
- C语言实现的一个内存泄漏检测程序
- DES加密算法C语言实现
- LINUX下命令行界面的C语言细胞游戏
- 用单片机控制蜂鸣器播放旋律程序(
- 学校超市选址问题(数据结构C语言版
- 电子时钟 有C语言程序,PROTEUS仿真图
- 尚观培训linux许巍老师关于c语言的课
评论
共有 条评论