-
定义类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
-
winiosendkey
使用winio文件全局发送键值,可在程序中模拟键盘输入。(Use the WINIO file global send keys, can simulate keyboard input in the program.)
- 2014-11-10 14:58:34下载
- 积分:1
-
newton_raphson
采用Newton—Raphson迭代法可以求解复系数一元三次方程的根,代码为Newton—Raphson迭代法的具体实现(The Newton-Raphson iteration method is used to solve the root of a cubic equation with complex coefficients. The code is the implementation of the Newton-Raphson iteration method.)
- 2018-09-09 11:15:02下载
- 积分:1
-
GPS_Milemeter_IMU_EKFLocation-master
说明: 使用GPS IMU 完成定位,GPS IMU EKF LOCATION(GPS IMU EKF LOCATION)
- 2020-09-27 14:40:55下载
- 积分:1
-
Chmiot.AutoUpdater
实现windows软件自动更新,也是网上找的代码,不全,自己补全了(Automatic updates for windows software, also looking for online code, incomplete, own complement of)
- 2014-02-11 16:40:44下载
- 积分:1
-
judge
这个程序实现的是素数判别,里边包含两个文件夹(This program is a prime Discriminant inside folder contains two)
- 2009-01-14 23:30:03下载
- 积分:1
-
TCP/IP communications simulation procedures client. End needs and services are u...
TCP/IP通讯模拟程序的客户端程序.需要和服务端一起使用.-TCP/IP communications simulation procedures client. End needs and services are used together.
- 2022-03-10 07:42:42下载
- 积分:1
-
klvns
说明: it's a good code for mimo system
- 2017-10-24 19:10:49下载
- 积分:1
-
BasicSTK
说明: 用于matlab和STK联合编程的例程,也可以用于测试调通参考(an example for the connection of matlab and STK, also can be uesed as a test file)
- 2020-04-22 09:39:52下载
- 积分:1
-
TextSwitcherTest
Text Switcher Test Source Code for Andriod.
- 2013-11-21 22:16:22下载
- 积分:1