Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop Other
  • Category : Other
  • Tags :
  • Update : 2013-05-11
  • Size : 1kb
  • Downloaded :0次
  • Author :El***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
/* * * 定义类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中保存的内容 * } * * * * 在实验课后,深入思考(不用具体实现,理清思路即可): * 1. 定义类MyIntCharString,它用于实现对字符串的操作; * 2. 在类MyIntCharString中,其内部对字符的存储结构用类IntChar; * 3. 在类MyIntCharString中,实现字符串的基本操作:求字符串长度、获取子串、字符查找。 * */
Packet file list
(Preview for download)


1.cpp
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.