学习按位编程的资源? [英] Resources to learn bitwise programming?

查看:130
本文介绍了学习按位编程的资源?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个c ++程序员,偶尔我会遇到一些使用位运算符在位级别处理事物的代码,但我对这些概念没有真正的理解。所以我想要一个资源,帮助我如此好地学习,它成为第二的性质。有谁知道好的资源吗? google搜索没有提供很多有用的信息。也许我不知道该找什么。谢谢!

I am a c++ programmer and occasionally I'll come across some code that is using bitwise operators to manipulate things at the bit level, but I have no real understanding of those concepts. So I would like a resource to help me learn it so well that it becomes second nature. Does anyone know of good resources for this? A google search did not provide me much useful information. Maybe I'm not sure what to look for. Thanks!

推荐答案

我非常喜欢Henry Warren的 Hacker's喜悦书。它的网站提供了第2章(基础)作为一个免费的样品,尽管名称,提供了一些相当复杂的位操纵技巧。这可能不是最好的开始,但它是梦幻般的一旦你开始对比特算术感到舒适。

I absolutely love Henry Warren's Hacker's Delight book. The website for it offers Chapter 2 ("Basics") as a free sample which, despite the name, offers some fairly sophisticated bit manipulation tricks. It might not be the best place to start, but it's fantastic once you start to get comfortable with bit arithmetic.

这篇关于学习按位编程的资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆