Search results

  1. C

    General C++ Problem

    OK, figured it out, and it was my coding at fault. What was happening was I was reading the file until eof, when fstream hits end of file it sets the eof bit and the fail bit. Once the fail bit is set, no operations on the file will succeed until the failbit is cleared. The modified code...
  2. C

    General C++ Problem

    I'm writing a Text Viewer (yeah I know there's a few out there, but they don't have the features I want) and have a general problem writing integers to a file. Now, I'm pretty new to Programming the GP2x and only reasonably conversant in C++, so it's likely to be a problem in the way I've coded...
  3. C

    Segmentation Fault Using Sdl_ttf

    On the other hand, maybe I just need new glasses. The file that is in the directory is arial.ttf. Despite looking at the code and the filename several times I saw them as the same until I decided to rename both to something else. This just leaves the question of why it threw a segmentation...
  4. C

    Segmentation Fault Using Sdl_ttf

    Hi, I think I must be doing something wrong here but I'm just not familiar enough with SDL programming to figure out what exactly. I'm using the official SDK (gp2xsdk_windows.zip) and have created a new project, DevC++ kindly creates a template for it which compiles and runs without problem...
Back
Top