Search:

Type: Posts; User: Spiegel

Search: Search took 0.01 seconds.

  1. Tried. And gives no error. I've also tried to...

    Tried. And gives no error.

    I've also tried to write it my way (noobie way) and it still gives no error. I surrender, I dont know why I got the error before but not now. =p
    What I know is that the...
  2. Yeah, I've seen that kind of questions myself. ^^...

    Yeah, I've seen that kind of questions myself. ^^
    Honestly, I felt so frightened by the level of those questions, that I thought "I could never learn C/C++, if that's the average level for a...
  3. If anybody's still following this thread, I'd...

    If anybody's still following this thread, I'd like to ask a question that is not important enough to deserve a new thread itself.

    The question is: is it just the compiler I'm using, or it's an...
  4. I'm not sure what you mean with "required up to...

    I'm not sure what you mean with "required up to calc", but I'm learning from a friend who is studying at the university.

    I have a high-school diploma in accounting and programming, but the kind of...
  5. This is just a test project, just to learn and...

    This is just a test project, just to learn and explore specific features.

    I needed to learn this in order to implement it in another exercise I'm doing:
    - given two rational numbers, perform...
  6. Yeah, I know I can just write down the whole...

    Yeah, I know I can just write down the whole function without any prototype, but I hate having full spans of code BEFORE main.
    Anyway I think I'll follow laserlight's suggestion: all or nothing. =)...
  7. Got the point with the full prototype of a...

    Got the point with the full prototype of a function and sounds reasonable. Will always do.

    Ehm. "Problem" with the return type of pass_struct?
    No problem, just useless data passing for and back....
  8. I've done everything you said and now it works!!...

    I've done everything you said and now it works!! Happy! ^.^

    I've checked the "sizeof" of "oggetto1" and "*oggetto1" and you're right, they're different.
    I'm an idiot, I've taken the size of the...
  9. [C malloc/free] ~ free-ing the allocated memory gives c0000005 Windows error

    Hi everybody!

    I hope you all had a merry christmas... =)

    ....because I need your help!! >.<


    I'm new to C and I'm getting to like this language more and more at every step I take, but I...
  10. Replies
    10
    Views
    5,266

    Good, thus using this program on a PC will never...

    Good, thus using this program on a PC will never have a problem with endianness. =)
  11. Replies
    10
    Views
    5,266

    I came up with the union idea just because of the...

    I came up with the union idea just because of the little/big endian problem, but I wasnt planning on portability. I was concerned just because I noticed that the RAW file is written with bytes...
  12. Replies
    10
    Views
    5,266

    That was a test code, made to fit a specific case...

    That was a test code, made to fit a specific case to avoid time-wasting code writings.

    In the final code I've made a "for" cicle to initialize all the array elements limited to "sizeof(unsigned...
  13. Replies
    10
    Views
    5,266

    Actually, in the meanwhile I've found my own...

    Actually, in the meanwhile I've found my own solution! ^^

    I've learnt about unions and used this method to solve my problem:



    FILE *ptrRAWread;

    union twobytes
    {
  14. Replies
    10
    Views
    5,266

    Reading 16 bits numbers from a RAW file

    Hi.

    First of all, just to let you know, I'm a beginner and I can barely use structures and (maybe) lists. ^^'

    What I'm trying to do is make a program to read 16 bits values from a header-less...
Results 1 to 14 of 14