This is continuation of posts: http://cppcodereviewers.com/bitwise-operations-part-2-first-trivial-approach/ http://cppcodereviewers.com/bitwise-operations/ Challenge: Decode raw bytes Decode data from raw bytes to some data structure which is easy to use and is resource friendly. You get n bytes of data in which in each byte there is 0bFDDDFDDD where F is some flag and DDD represents data. Lets assume you get pointer to data… Read More

This is continuation of post: http://cppcodereviewers.com/bitwise-operations/ Continuation of this topic is here: http://cppcodereviewers.com/bitwise-operations-part-3-save-resources/ Challenge: Decode raw bytes Decode data from raw bytes to some data structure which is easy to use and is resource friendly. You get n bytes of data in which in each byte there is 0bFDDDFDDD where F is some flag and DDD represents data. Lets assume you… Read More

Continuation of this topic is here: http://cppcodereviewers.com/bitwise-operations-part-2-first-trivial-approach/ http://cppcodereviewers.com/bitwise-operations-part-3-save-resources/ I decided to create some new category – C++ Challenge. I would like to put here some problems which I would like to have solved the best way possible. If possible put solution in comments – remember to put your code in <pre></pre>. Do not hesitate… Read More