Search:

Type: Posts; User: Rath

Search: Search took 0.00 seconds.

  1. I believe so too, alas I am a mere intern and...

    I believe so too, alas I am a mere intern and would prefer to get it to spec rather than ask for a change in requirements on my first project :tongue:

    And I beleive you are rightabout the DSP core...
  2. This code yields: 32768 65535 so it does...

    This code yields:

    32768 65535

    so it does seem that yes, my integers are 16 bits in size whether they're signed or unsigned. Hm. I don't see why this architecture makes sense from a design...
  3. Could you elaborate on this idea a bit? I get it...

    Could you elaborate on this idea a bit? I get it at a high level and I think if I come up with the right implementation, there should be no big problem with doing this (will be a lot more annoying...
  4. This code yields: -32768 -1 So my Max int...

    This code yields:

    -32768 -1

    So my Max int is -1? I may be a novice with C, and correct me if I'm wrong, but that seems like total nonsense.

    Also, returning sizeof(struct glog) yields 44 like...
  5. The result of this program yields: 1 1 1 7 ...

    The result of this program yields:

    1 1 1 7

    :confused: So it would seem my sizeof function does not work in the same way as most of what I have read online seems to be suggesting.
    I am...
  6. After reading a link I found here regarding...

    After reading a link I found here regarding padding/alignment: Structure Member Alignment, Padding and Data Packing | GeeksforGeeks

    I think I roughly understand a little bit of the problem I seem...
  7. See that's another thing. My 'sizeof' function is...

    See that's another thing. My 'sizeof' function is not working as I expect it to. If I print out a 'sizeof' anything, it will tell me the amount of items it contains, as opposed to the amount of bytes...
  8. file size with binary write larger than it should be?

    Hi everyone.

    I have what seemed to be a simple problem at the start (famous last words) but now I am pretty confused as to whats going wrong.

    I need to write several structures to a binary...
  9. Replies
    4
    Views
    5,842

    You are right, my bad. The compiler does issue a...

    You are right, my bad. The compiler does issue a warning, for each function called, stating that the function is "implicitly called", and how it was "previously declared to return int". Then when I...
  10. Replies
    4
    Views
    5,842

    Scope issue with header file used as interface

    Hello!

    I am new to C programming and am having a bit of trouble understanding scope and how it relates to header files.

    I have a single C file "foo.c" that has probably on the order of 30...
Results 1 to 10 of 10