⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 textcopy.h

📁 本代码展示了使用DB_LIB库对SQL SERVER的连接和各种操作的实例。
💻 H
字号:
/***********************************************************************
Copyright (c) 2000, Microsoft Corporation
All Rights Reserved.
***********************************************************************/
////////////////////////////////////////////////////////////////////////
//
//  FILE: textcopy.h
//              
//      Header for text and image copy application
//
//  COMMENTS:
//
////////////////////////////////////////////////////////////////////////

// function prototypes
int Cleanup (PDBPROCESS);
extern "C" int ErrorHandler (PDBPROCESS, INT, INT, INT, LPCSTR, LPCSTR);
extern "C" int MessageHandler (PDBPROCESS, DBINT, INT, INT, LPCSTR, LPCSTR, LPCSTR, DBUSMALLINT);
int DisplayUsage (void);

#define D(a) if (bDebug) { cout << dbg; (a); }

const char* const err = "ERROR: ";
const char* const dbg = "  debug: ";

inline void cinstr (CString& s, int n) { cin.getline (s.GetBuffer (n), n); s.ReleaseBuffer(); };
inline void cinstr (CString& s) { cin.getline (s.GetBuffer (100), 100); s.ReleaseBuffer(); };

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -