arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1201.3802cs.OHcs.DS
收藏

位运算在程序设计中的应用实例

An Entertaining Example for the Usage of Bitwise Operations in Programming

Hristina Kostadinova, Krasimir Yordzhev

摘要:

本研究旨在填补最广泛和最知名的关于方案规划的教育和参考文献中出现的一些信息空白。重点放在一个非常有用的工具上-按位操作,不幸的是,在大多数着名的编程书籍中很少涉及这个主题。此外,该研究对于任何面向对象程序设计课程中的重载运算符主题都是非常有用的。给出了一些适当的例子,重点放在一些特殊的数据结构语言结构,结果是相当有趣的。解决流行的数独问题的算法就是这样一个有趣的例子。

英文摘要:

The present study is meant to fill in some information gaps occurring in the most widespread and well-known educational and reference literature about programming. The stress is laid on a very useful instrument - the bitwise operations, topic which is, unfortunately, seldom dealt with in most of the well-known books on programming. In addition, the research is very useful as regards the topic of overloading operators in any Object-oriented programming course. Given some appropriate examples, with the emphasis being laid on some particular and data structures language constructions, the results are quite interesting. The algorithm of solving the popular Sudoku puzzle is one such entertaining example.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑