机构地区: 许昌学院电气信息工程学院
出 处: 《许昌学院学报》 2009年第2期95-99,共5页
摘 要: 针对现有C和C++教材中对位运算介绍不到位的情况,分析了位运算的特点,设计并演示了两种利用位运算实现的字符串加密解密C++算法,该算法有利于学生理解掌握位运算. Considering that the introduction of bit operation is unclear in C and C++ textbooks,this paper designes two C++ algorithms about encryption and decryption of string with bit operation as well as analyses its characteristics.It also demonstrates the programming,which can help students to handle these abstract concepts of bit operation.
领 域: [自动化与计算机技术] [自动化与计算机技术]