HeX Smith

Show:

What's happening?

  • Comment: NULL Pointer Deleted Automatically

    Logged In: YES user_id=596130 I'm simply dense. I had a comparison that didn't properly allocate the memory but allowed it to point to something other than null. Please close/delete this entry.

    2006-11-09 08:10:22 UTC in Dev-C++

  • OpenGL Template Fails Compile

    With a default installation of wxDev-C++ 6.10, the OpenGL template fails compile. I tried adding -lglu32 to the library options, but it still fails compile. The errors I'm getting are as follows: [Linker Error] undefined reference to `GetStockObject@4' [Linker Error] undefined reference to `SwapBuffers@4' [Linker Error] undefined reference to `ChoosePixelFormat@8' [Linker...

    2006-11-09 05:27:50 UTC in wxWidgets Dialog Designer

  • NULL Pointer Deleted Automatically

    I'm not sure if this is a problem with Dev C++ or with the compiler, but when I have a class that contains a pointer to another class, I check to make sure the pointer is null (and if not, delete the data stored there). The problem is that even though the conditional statement returns false, the delete operation is still fired. Ex: (poly.h) sPoly::~sPoly(){ if (point)

    2006-11-07 22:41:49 UTC in Dev-C++

  • Code Scrapped; Version Reset

    The original code I was using was based on a list of objects tied together with pointers. I've found that either that is way too slow or my texture accessing algorithm is slowing all my code down. Since my last release, I've scrapped all the code that used a pointer-based database system, and I've begun to rewrite my code almost from scratch. I will be using a new file type as well as a new...

    2003-05-13 02:20:54 UTC in CyberScape

About Me

  • 2002-08-16 (7 years ago)
  • 596130
  • hex314 (My Site)
  • HeX Smith

Send me a message