Welcome![Sign In][Sign Up]
Location:
Search - ftp.rar

Search list

[OtherC++程序设计语言实验二

Description: 实验二:C++编程入门 一、实验内容 1. 使用构造函数、析构函数。 2. 使用对象数组。 3. 学习动态创建对象。 4. 学习全局对象、静态对象、局部对象。 5. 运算符重载。 二、实验题目 1,定义一个学生类,要求存储学号,姓名, 年龄,性别,班号等信息,从键盘输入10个学生信息,存储在一个对象数组中,并将所有学生信息打印出来。 要求:1,学号按照1,2,3....排列,并通过对象构造函数输入。 2,学生类提供一个打印函数,负责打印学生信息 3,要求有一个析构函数,在对象销毁时打印“学生X信息销毁”,这里X表示学号。 4,输出打印时要求使用指向对象的指针。 2,定义一个学生类,要求存储学号,姓名, 年龄,性别,班号等信息,并作为私有成员变量存储,分别实现GetInfo(...), PrintInfo, SetInfo(...) 三个共有成员函数,用于进行信息读取、信息打印、信息修改。 分别从键盘输入10个学生信息,存储在一个动态创建的对象数组中(使用new操作符创建),要求从键盘输入学号进行学生对象的查找,并将该学生信息打印出来。 要求:1,学号按照输入顺序1,2,3....排列,并通过对象构造函数输入。 2,使用this指针 3,要求提供构造函数和析构函数,前者在对象创建时打印“学生X信息创建”,后者在对象销毁时打印“学生X信息销毁”,这里X表示学号。 4,查找对象时使用指向对象的指针。 3,用上例定义的学生类分别创建一个全局对象,一个函数中的静态对象、相同函数中的若干局部对象。在构造函数中增加对象存储类别的信息(如:“全局对象”、“静态对象”、“局部对象”),在析构函数中也增加相同信息。运行该程序,观察构造函数和析构函数调用时机和相对顺序。 4,设计并实现一个复数类,提供对复数+、-、++(实部自增)、--(实部自减)运算符的重载以获得相应功能,并重载<<和>>操作符,以用于对复数的打印。 三、实验要求  将程序源代码压缩后提交至学院FTP上对应实验和班级的目录中。  作业命名方式为:“学号姓名.rar”。  作业提交时间:下次实验课前提交。
Platform: | Size: 11780 | Author: zhuchao0731@163.com | Hits:

[OtherC++程序设计语言实验三

Description: 实验三:C++编程入门 一、实验内容 1. 类模版。 2. 运算符重载。 3. 友元。 4. 继承。 二、实验题目 1, 设计一个类SavingsAccount,定义一个静态数据成员记录存款的年利率(rate),该类的每个成员都包含一个私有的数据成员balance,表示该成员当前的存款数额。提供一个成员函数CalMonthlyInterest(),用以计算月利息(用balance乘以rate再除以12),并将这个月利息加入balance中。提供一个静态成员函数ModifyRate(),用以改变静态数据成员rate的值。定义两个不同的SavingsAccount对象saver1和saver2,当前存款数额balance分别为2000.00和3000.00。首先将rate设置为3%,计算每个存款人的月息并打印新的结果,然后将rate设置为4%,再次计算每个存款人的月息并打印新的结果。 2, 设计一个学生类student,包括学生学号、姓名、成绩;设计一个友元函数,比较某两个学生成绩的高低;读入一个文本文件(格式如示例studengt.txt,每行的学号、姓名、成绩之间用四个空格隔开)中所有学生的学号、姓名、成绩,输出最高成绩和最低成绩的学生信息(学号、姓名、成绩)。 3, 阅读下面例子,将题中的Time类声明为Data类的友元类,通过Time类中的display函数引用Data类的私有数据,输出年、月、日和时、分、秒。 #include <iostream> using namespace std; class Date; //对Date类的提前引用声明 class Time //定义Time类 { public: Time(int,int,int); void display(Date &); //display是成员函数,形参是Date类对象的引用 private: int hour; int minute; int sec; }; class Date //声明Date类 { public: Date(int,int,int); friend void Time∷display(Date &); //声明Time中的display函数为友元成员函数 private: int month; int day; int year; }; Time∷Time(int h,int m,int s) //类Time的构造函数 { hour=h; minute=m; sec=s; } void Time∷display(Date &d) //display的作用是输出年、月、日和时、分、秒 { cout<<d.month<<″/″<<d.day<<″/″<<d.year<<endl; //引用Date类对象中的私有数据 cout<<hour<<″:″<<minute<<″:″<<sec<<endl; //引用本类对象中的私有数据 } Date∷Date(int m,int d,int y) //类Date的构造函数 { month=m; day=d; year=y; } int main( ) { Time t1(10,13,56); //定义Time类对象t1 Date d1(12,25,2004); //定义Date类对象d1 t1.display(d1); //调用t1中的display函数,实参是Date类对象d1 return 0; } 4, 将下面程序改为在类模板外定义各成员函数: #include <iostream> using namespace std; template<class numtype> //定义类模板 class Compare { public: Compare(numtype a,numtype b) { x=a;y=b; } numtype max( ) { return (x>y)?x:y; } numtype min( ) { return (x<y)?x:y; } private: numtype x,y; }; int main( ) { Compare<int> cmp1(3,7); //定义对象cmp1,用于两个整数的比较 cout<<cmp1.max( )<<″ is the Maximum of two integer numbers.″<<endl; cout<<cmp1.min( )<<″ is the Minimum of two integer numbers.″<<endl<<endl; Compare<float> cmp2(45.78,93.6); //定义对象cmp2,用于两个浮点数的比较 cout<<cmp2.max( )<<″ is the Maximum of two float numbers.″<<endl; cout<<cmp2.min( )<<″ is the Minimum of two float numbers.″<<endl<<endl; Compare<char> cmp3(′a′,′A′); //定义对象cmp3,用于两个字符的比较 cout<<cmp3.max( )<<″ is the Maximum of two characters.″<<endl; cout<<cmp3.min( )<<″ is the Minimum of two characters.″<<endl; return 0; } 5, 有两个矩阵a和b,均为2行3列,求两个矩阵的和。重载运算符“+”使之用于矩阵相加。如:c=a+b。重载插入运算符“<<”和流提取运算符“>>”,使之能用于该矩阵的输入和输出。 6, 利用类继承分别完成一个学生类、一个大学生类、一个本科生类,本科生类中包括了一个学生作为他的班长。在创建一个本科生对象时赋予他的全部信息,输出该本科生对象的全部信息。 7, 利用c++继承、多态虚函数、构造函数完成以下程序:设计人、老师、学生、大学生、研究生、大四学生等类、其主要属性自己定义,要求包括以下方法: 1) 构造函数,创建对象的主要信息 2) Display,显示每种类对象的主要信息 此外,要求每个类包含一个生日对象,其类型为Birthday类,学生类应该包含一个班主任对象,其类型为老师类。 三、实验要求  将程序源代码压缩后提交至学院FTP上对应实验和班级的目录中。  作业命名方式为:“学号姓名.rar”。  作业提交时间:下次实验课前提交。
Platform: | Size: 1255695 | Author: zhuchao0731@163.com | Hits:

[OtherC++程序设计语言实验四

Description: 实验七:C++编程入门 一、实验内容 1. 理解继承与组合。 2. 学会使用多态特性。 3. 使用文件。 4. 异常处理。 二、实验题目 1. 创建一个class Counted,包含一个int类型的成员变量id和一个static int类型的成员变量count。默认构造函数的开头为“Counted() : id(count ++) {”。要求: a) 构造函数输出id值并且输出“it’s being created”; b) 析构函数也输出id值并且输出“it is being destroyed”; c) 使用new创建一个class Counted的对象,并且用delete销毁它; d) 使用new创建一个class Counted的对象数组,并且用delete[]销毁它; 2. 使用继承的方法,编写一个点类Point和线段类Line。要求:点以(x, y)的形式打印坐标的值;线段以上述形式打印两端点的坐标(x1, y1)、(x2,y2),并设计计算线段长度的内联函数。 3. 创建一个简单的Shape层次:基类称为Shape,派生类分别为Circle、Square和Triangle。在基类中定义一个虚函数draw(),然后再在这些派生类中定义这个函数。在堆中创建Shape对象,并建立一个指向这些Shape对象的指针数组(这样就形成了指针向上类型转换),通过基类指针调用draw(),检验虚函数的行为。 4. 利用c++继承、多态虚函数、构造函数完成以下程序:设计人、老师、学生、大学生、研究生、大四学生等类、其主要属性自己定义,要求包括以下方法: 1) 构造函数,创建对象的主要信息 2) Display,显示每种类对象的主要信息 此外,要求每个类包含一个生日对象,其类型为Birthday类,学生类应该包含一个班主任对象,其类型为老师类。 利用研究生类创建一个数组,来存储一个班级的学生信息,将其写入硬盘文件,再读出来进行显示。读写文件失败时要进行异常处理。 三、实验要求  将程序源代码压缩后提交至学院FTP上对应实验和班级的目录中。  作业命名方式为:“学号姓名.rar”。  作业提交时间:下次实验课前提交。
Platform: | Size: 9677 | Author: zhuchao0731@163.com | Hits:

[Web Serverdoolo

Description: 程序名称:仿阿里巴巴多乐商务2.5全站程序 软件类别: ASP源码 / 电子商务 软件语言: 简体中文 文件大小: 8.75M 系统平台: ASP+ACCESS 联 系 人: QQ:6946938 程序下载:http://www.doolo.com/doolo.rar 界面下载:http://www.doolo.com/800.rar 演示地址:http://www.doolo.com 程序介绍: 版本功能强大 版面简洁清爽 * 管理员登陆地址/myaen2004/login.asp * 管理员ID : admin * 管理员密码:admin * 登陆以后可以自由修改或添加管理员。 * 数据库地址文件夹treeback 数据库名字 $cude8$#0ld$de.mdb * 网站参数设置:INC/config.asp * 计数器地址 /counter/ * 用户名:admin * 密码:admin * 在const.asp页面修改,再FTP上传-procedures title : Imitation Alibaba Dole Business 2.5 station software categories : ASP source/e-commerce software Language : English File Size : 8.75M system platforms : ASP ACCESS Contact : QQ : 6946938 Download : http:// www.doolo.com/doolo.rar interface Download : http://www.doolo.com/800.rar demonstration Address : http://www.doolo.com procedures introduced : Version powerful layout concise helps administrators landing* Address/* myaen2004/login.asp administrator ID : admin managers* Password : admin* After landing free to modify or add administrators.* Address Database folder names treeback database cude8 $ $ $# 0ld de.mdb* parameter setting website : INC/config.asp* Counter address/counter/* User Name : admin* Password : admin* const.asp pages revise, and FTP u
Platform: | Size: 9182208 | Author: | Hits:

[Ftp Clientmulit-ftp_down

Description: 本文给出了一个用vc实现FTP多线程下载的实例-MULTITH.rar-this paper using vc achieve a multithreaded FTP download examples- MULTITH.rar
Platform: | Size: 5120 | Author: | Hits:

[Multimedia programsuperRmplayer

Description: 很好的RM播放器,我花了好长时间改,谢谢大家支持!-good player, I spent a good long time change, thank you for support!
Platform: | Size: 45056 | Author: 张宇 | Hits:

[JSP/JavaShellClient

Description: 这个是用java编写的远程桌面控制程序,包括server端和client端。-the java is prepared by the Remote Desktop control procedures, including server and client-side.
Platform: | Size: 2048 | Author: 陈建伦 | Hits:

[CommunicationMyFtpClientAndServer

Description:
Platform: | Size: 39936 | Author: zhaoliwan | Hits:

[Otherwenmingphp5mysql5

Description: php开发的行业搜索系统!!! 2. 安装 ------------ a. 解压程序rar文件,用二进制方式上传到你的网站的根目录或某一目录下 注意:一定要将ftp上传工具设置为二进制方式,再上传程序文件 b. unix或linux服务器下, 将以下文件属性改为:666 (或777) - function/base_info.php - function/emphasis_info.php - function/admin_pass_info.php - function/search_info.php - function/userfield_info.php - template/default/目录下的所有html文件 c. unix或linux服务器下, 将upfile/目录属性改为:777 d. 建立一个mysql数据库,并记下用户名和密码,以便安装时使用 e. 进入安装目录http://www.your_website.com/install/, 自动运行安装程序 f. 安装完成后,要求删除安装目录install/及其下文件 g. 后台管理目录http://www.your_website.com/adiministrator/ h. 可修改adiministrator/目录为你希望的独特的名字-php development of the industry Search System! ! ! 2. Installation------ a. decompression procedures rar documents, using binary mode to upload your site to the root directory or a directory attention : it must ftp upload tools set to binary mode, then upload files b. unix or linux server will attribute to the following documents : 666 (or 777)- function/base_info.php- functio n/emphasis_info.php-function/admin_pass_ info.php-function/search_info.php- functi on/userfield_info.php- template/default/Head recorded all the html document c. unix or linux server. will upfile/directory attribute the following : the establishment of a 777 d. mysql database, charged under the user name and password to use e. installation to installation directory http :// www.your_websi
Platform: | Size: 190464 | Author: xiaolei | Hits:

[Internet-NetworkFTPSend

Description: FTPSend.rar,VC++,实现文件上传到FTP站点上-FTPSend.rar, VC++, Files uploaded to the FTP site
Platform: | Size: 161792 | Author: GYZ | Hits:

[ARM-PowerPC-ColdFire-MIPSMNT1

Description: Nucleus内核源码,包括任务的创建,任务间通信,中断处理.-Nucleus kernel source code, including task creation, task inter-communication, interrupt handling.
Platform: | Size: 2639872 | Author: 李烨 | Hits:

[Ftp Serverftp_code

Description: 外国人写的ftp服务器代码.rar 外国人写的ftp服务器代码.rar-Foreigners ftp server written in code. Rar foreigners ftp server written in code. Rar
Platform: | Size: 172032 | Author: Player1 | Hits:

[Remote ControlSfilemanage

Description: 这是本人曾经大二的时候编写的C/S模式ASP服务器文件管理系统, 支持文件夹上传,单个文件大小可在50M以上,可以进行服务端RAR压缩解压;用户使用该程序可以享受比FTP更强大功能。利用了FSO、Shell等多种方式进行文件操作,只要服务具备其中之一的组件该程序即可正常工作。-This is his sophomore year when I have prepared C/S mode ASP server document management system to support the upload folder, single file size can be more than 50M, you can service client RAR compression decompression users can enjoy the use of the program than FTP is more powerful features. Use of the FSO, Shell carried out a variety of ways, such as file operations, as long as the service with one of the components of the program to work correctly.
Platform: | Size: 342016 | Author: 宋福强 | Hits:

[MiddleWaredlgDHTMLEvents

Description: [ShowHtmlSource.rar] - 获得WebBrowser控件中的HTML源码 [MyBand.rar] - ie band包括浏览框、桌面框、工具条,Explore Bar 、Tool Bar、Desk Bar [Charging_system.rar] - 该计费系统实现读取FTP服务器上的日志文件,对其进行分析,并结合计费规则分别计算每个用户费用。-[ShowHtmlSource.rar]- access WebBrowser control in the HTML source code [MyBand.rar]- ie band including the browser frame, desktop box, Toolbar, Explore Bar, Tool Bar, Desk Bar [Charging_system.rar]- The Billing System achieve read FTP server log files, analyze them and, in conjunction with billing rules for each user costs were calculated.
Platform: | Size: 21504 | Author: wuguo | Hits:

[Other Embeded programJ-LinkV7_schematic

Description: J-linkV7版的电路原理图,protel格式,可以直接使用。-J-linkV7 version of the circuit schematic, protel format, can be used directly.
Platform: | Size: 14336 | Author: 孙江波 | Hits:

[Ftp ServerFTP_6lIfYNgM

Description: FTP小工具开源_6lIfYNgM.rar-FTP tool and open source
Platform: | Size: 108544 | Author: adense | Hits:

[JSP/JavaCERP_System_HIT_Java_source_code_and_development_n

Description: 哈工大CERP系统Java源码及开发说明.rar 内容十分详尽,很值得下载,包含源代码和FTP开发流程说明-CERP System HIT Java source code and development notes. Rar is very detailed, very worthy download, including source code and development process FTP Help
Platform: | Size: 2778112 | Author: 刘志峰 | Hits:

[FlashMXjiuye1

Description: 很好的网站 [asp与sql网页数据库程序设计.rar] - 好书啊。关于ASP的新书 [全球办公自动化系统源代码.rar] - 本系统在一些大中型企业(跨多达24个区域)一直都在很好的服务过,主要在FTP 控制 UDP控制 HTTP控制 傁客户数据库 数据库 数据压缩加密方面进行了综合深入的应用 [jiuye.rar] - 一款不错的就业管理系统,采用visual basic制作,里面附带有程序员代码,共大家参考。 [qzoa.rar] - 开发此程序用于分人事、工资、进货、销售、存货、资金管理等功能. [TranPinyin.rar] - 一个用查表法实现的根据汉字串生成拼音码的程序,我看过网上很多这种代码,但其实都有问题,对于码表后面的汉字就不能正确处理 -verygood
Platform: | Size: 1138688 | Author: 尼晓河 | Hits:

[Windows DevelopFTPTREE

Description: VC++实现FTP的例子 FTPTREE.rar-FTPTREE.rar
Platform: | Size: 18432 | Author: zhou yu | Hits:

[OAsroasetup

Description: 详细描述请看 网上试用地址 http://211.147.225.104:88 安装程序下载 ftp://guest:guest@211.147.225.104/sroasetup.rar 详细说明书下载 ftp://guest:guest@211.147.225.104/sroav2.3.doc-See a detailed description of address online trial download http://211.147.225.104:88 Setup ftp://guest:guest @ 211.147.225.104/sroasetup.rar Download detailed specification ftp://guest:guest @ 211.147.225.104/sroav2 .3. doc
Platform: | Size: 21348352 | Author: 陈伟 | Hits:
« 1 2 3 4 5 67 »

CodeBus www.codebus.net