Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Mar 2001
Offline Last Active May 13 2015 02:54 AM

Posts I've Made

In Topic: Your Worst "Gotchas" ever in programming

02 February 2013 - 03:07 PM

I wrote a function to apply blurring to an image stored in a 2D array passed in (VS2010, C++). The function had a local 640x480 2D array on the stack. Calling the function caused really strange things to happen and had me baffled while trying to change random things to make it better. In the end, it turned out it was a stack overflow, with the additional array sending it over the top of the default 2MB size. That was a weird one. It would be nice if something indicated the problem in debug mode.

In Topic: Linux Desktop Environments

30 October 2012 - 12:54 AM

A DE has a WM as part of its software suite. KDE, for example, has KWin as its WM. It's generally much more than that though - it also includes things like a login manager, desktop, some sort of system control panel, basic applications like a file browser, text editor, and many more. You can use a different WM than the one that comes with the DE, or software from another DE within a different one (though you often need to have some dependent libraries).

I don't really know about forking. You'd probably clone the code, keep the previous license (I think), and find some people that can get behind your cause.

In Topic: C++ what other IDE other than VC++

01 June 2012 - 03:20 PM

I've been using QtCreator (even for non-QT stuff) lately and like it quite a bit. I prefer it to VS. It doesn't know about some C++11 stuff at the moment, but I'm guessing that will change soon enough.

In Topic: Loading .OBJ

16 December 2011 - 02:05 PM

When I needed something quick and dirty for a single model, I used obj2opengl. It parses an OBJ model and creates a header with all the data. Not exactly a great way to do it, especially for more than a few models, but it might work for you if it's the kind of thing you're looking for. It's very simple.

In Topic: Another c++ error

19 October 2011 - 01:19 AM

gahh. now i get this after my project compiles.

Unhandled exception at 0x76ed15ee in game.exe: 0xC0000005: Access violation reading location 0x00000008.

You need to run it in the debugger to see where this happens and go from there.