View Single Post
  #4   (View Single Post)  
Old 18th September 2011
xmorg xmorg is offline
Real Name: Tim Cooper
Fdisk Soldier
 
Join Date: Sep 2010
Location: San Diego
Posts: 56
Default

Hey everyone thanks for the response. Situation resolved by using address of

regiongen(&wm->wregions[y][x], wm->height, wm->width, wm->data[y][x]);

Now, im writing all of my regions to file, the file gets to about 2.7 megabytes and the program crashes(in the middle of writing a region).... some kinda overflow? what is it? Ive tried fputc, and fputs... hmmm.
Reply With Quote