View Single Post
Old 12th December 2016, 19:15   #13  |  Link
captaiŋadamo
Guest
 
Posts: n/a
Quote:
Originally Posted by feisty2 View Post
Tell me how is *src++ any better than src[w]?
Sometimes I just fail to understand why would anyone write such unreadable stuff along with whole bunch of pointless, again, unreadable bit wise operations..
C++ is not assembly
To be pedantic, that's not a bitwise operation, it's pointer arithmetic. &, ~, ^, |, << and >> are bitwise operations.

Also, the code is extremely simplistic so what is so hard about reading it?
  Reply With Quote