摘要: MFC ADO使用1.导入ADO链接库#import "C:/Program Files/Common Files/System/ado/msado15.dll"no_namespace rename("EOF", "adoEOF")rename("BOF", "adoBOF")//两行写一行,写在stdafx.h文件末尾 。C为系统盘。2.ADO封装工程中引入以下两文件。view plain//ADO.h#pragmaonceclassADO{public:ADO(void);~ADO(voi 阅读全文
posted @ 2011-11-28 22:08 xxx1 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Triangle WaveIn this problem you are to generate a triangular wave form according to a specified pair of Amplitude and Frequency.Input and OutputThe input begins with a single positive integer on a line by itself indicating the number of the cases following, each of them as described below. This lin 阅读全文
posted @ 2011-11-28 17:24 xxx1 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Marvelous MazesYour mission, if you decide to accept it, is to create a maze drawing program. A maze will consist of the alphabetic charactersA-Z,*(asterisk), and spaces.Input and OutputYour program will get the information for the mazes from the input file. This file will contain lines of character 阅读全文
posted @ 2011-11-28 01:03 xxx1 阅读(408) 评论(0) 推荐(0) 编辑