-
定义类IntChar Exercise-1-IntChar
定义类IntChar,实现用一个整数保存一个长度不超过4的字符串。假设一个字符长度是1个字节。
* 例如:"ABCD",用一个整数保存,其二进制形式为:0100 0001 0100 0010 0100 0011 0100 0100
* 长度不足四个字符的串,剩下部分用0补足。
*
*
* 自己根据需要类IntChar的属性和方法,但需满足以下要求:
* 1. 在类IntChar中,不能用C++语言中的string类型来定义任何属性(变量)。
* 2. 对于定义的类IntChar,在main函数中,能用以下方式使用类IntChar:
*
* void main()
* {
* IntChar IC("Love")
* IC.ASC_Print() // 以字符串形式显示对象IC中保存的内容
* IC.Binary_Print() // 以二进制形式显示对象IC中保存的内容
* IC.Int_Print() // 以整数形式显示对象IC中保存的内容
* }(Custom class IntChar, save a length not exceeding 4 string with an integer. Suppose a character length is 1 byte.* For example: " ABCD" , kept by an integer, binary form: 0,100,000,101,000,010 0100 0011 0100 0100* length of less than four characters of the string, the rest of complement with 0. The*** the need class IntChar of the properties and methods, but must meet the following requirements:* 1. In class IntChar, can not use the string type the C++ language to define any attributes (variables).* 2. Defined class IntChar, the main function can be used following ways IntChar:** void main () {IntChar IC (" Love" ) * IC.ASC_Print () // in characters string displayed in the form saved in the object IC* IC.Binary_Print () // save the contents of the object IC* IC.Int_Print () in binary form // integer saved in the object IC*})
- 2013-05-11 22:10:57下载
- 积分:1
-
VC2008-example
<<VC++2008专题应用程序开发实例精讲>>源代码(vc 2008 example )
- 2013-07-04 21:35:19下载
- 积分:1
-
Winlogon
winlogon.exe调用接口函数,用于更改访问控制方式的函数(winlogon)
- 2016-05-08 12:02:12下载
- 积分:1
-
MonteCarlo.Integration
用MonteCarlo 进行定积分,C#代码。可以作为MC在数学上应用来学习,比较简单的原理和程序(The definite integral with MonteCarlo, C# code. MC can be used as the application of mathematics to learn the principles and procedures of relatively simple)
- 2010-12-02 19:00:00下载
- 积分:1
-
Winform
基于Winform下的迅风下载软件全程开发(C#应用版)(th download winform)
- 2013-09-01 22:03:37下载
- 积分:1
-
MODBUS-CSharp
说明: socket测试小程序。MODBUS协议。很简单的小例子,适合初学者。(socket test applet. MODBUS protocol. A very simple little example for beginners.)
- 2011-03-17 16:31:47下载
- 积分:1
-
clearCIH
计算机安全,清除CIH病毒的程序,程序中有部分说明。(Computer security, CIH virus removal procedures, procedures that are part of.)
- 2009-04-25 17:21:30下载
- 积分:1
-
srf222
Windows下的输入法源码 (The sourcecode for an IME on windows)
- 2020-06-26 11:00:02下载
- 积分:1
-
Zeus
网络内容过滤系统,使用中间层驱动过滤IP,LSP过滤URL和关键字!(Text content, url, URL, ip filter voice prompts can be issued according to the text, and fast alarm 3 software set certain security measures to protect and prevent tampering and unauthorized access 4. Through illegal information characteristics to upgrade the feature library.)
- 2012-08-10 10:23:48下载
- 积分:1
-
demo
说明: 标签/关键词:
连接oracle数据库,并实现插入数据(Connecting Oracle database and inserting data)
- 2019-04-11 22:22:33下载
- 积分:1