Jerramy Gipson

Show:

What's happening?

  • SrcEdit: Line wrap mode

    The other day, I wanted to view a DOC format novel in SrcEdit, but couldn't (or rather decided I wouldn't) because it doesn't have the option to wrap lines. In all cases, when programming I don't want lines to wrap, but if I'm looking at (or working on) a natural language document, I would like this feature.

    2007-11-29 20:04:31 UTC in OnBoard C

  • crypture

    the_land_baron registered the Crypture project.

    2007-08-14 22:05:06 UTC in Crypture

  • Comment: Arrays of function pointers not supported

    In the example you gave, you didn't put function prototypes before the usage of their labels. When it's compiling the initializer list for ptrfunc[3], it doesn't know what the heck a funcA is. However, even when I put the prototypes in front and I tested this, it didn't work. I did get two alternate methods to work though: 1. Put the function definitions in front of the array initializer.

    2007-06-27 20:14:01 UTC in OnBoard C

  • Comment: Static array initializer wrong

    Logged In: YES user_id=1048900 Another issue with this bit me. (I spent a significant amount of time looking in the wrong place for the fix...) If values are left off the list of initializers, the resulting structure in memory is the size of the list, not the size declared for the array. Thus: Uint16 array2D[10][10] = {{1,2,3},{4,5,6},{7,8}}; is onlly 8 words long, instead of...

    2006-09-26 15:00:49 UTC in OnBoard C

  • Comment: Static array initializer wrong

    Logged In: YES user_id=1048900 This may be related to bug 887312.

    2006-09-25 16:14:59 UTC in OnBoard C

  • Static array initializer wrong

    When initializing a 2D array will incomplete lists, the next list is loaded in the wrong spot. Uint16 array2D[10]10] = { {1,2,3,4}, {5,6,7,8}, {9,0} }; should load the array to be: 1 2 3 4 0 0 0 0 0 0 5 6 7 8 0 0 0 0 0 0 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... but instead loads it thusly: 1 2 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 0 0 0 ...

    2006-09-25 15:01:26 UTC in OnBoard C

About Me

  • 2004-05-24 (5 years ago)
  • 1048900
  • the_land_baron (My Site)
  • Jerramy Gipson

Send me a message