title: Readimagefile(); function to get image
body: <p>I just figured out how to use bgi files in visual studio 2010 its working pretty well , i used the function write image file(); to save the image file of my output and it works fine but when i used the function read image file(); and open it nothing shows up its empty :"( . (HELP)
   when i use read image file() i comment the write image file function.</p>
  
  <pre><code>void main(){ 
    initwindow(500,500,"sample");
    writeimagefile();
    readimagefile();
    getch();
  }
  </code></pre>