Debug Assertion Failed
<p>Using Visual Studio 2010, C++.
Programming level: beginner.</p>

<p>I have a code from a book Windows Game Programming Gurus and up until now have managed all problems i have stumbled upon.</p>

<p>But this i don't know what it is.</p>

<p>Here is a screenshot of an error:</p>

<p><img src="http://i.stack.imgur.com/3zn8O.png" alt="enter image description here"></p>

<p>That is one nice 8-bit image...</p>

<p>Now, it says File: f:\dd... </p>

<p>In my case f: drive is empty cd-rom...</p>

<p>This is the line where i think error is happening:</p>

<pre><code>_lseek(file_handle, -((int) (bitmap-&gt;bitmapinfoheader.biSizeImage)), SEEK_END);   
</code></pre>

<p>What is this thing?</p>
