Getting the pointer to dib in a bmp file in C++
<p>I want to get a byte * to the dib in a bmp file in C++. I know that bmp contains a bmp header and I need to open the bmp file and skip some bytes in order to get the pointer to the dib. I am unfamiliar with C++ so any code would be helpful!</p>

<p>Pseudocode of what I want to do:</p>

<pre><code>byte * pointer = open(file.bmp);
pointer += number of bits to get to dib.
return pointer
</code></pre>
