Search:

Type: Posts; User: azerej

Search: Search took 0.00 seconds.

  1. Thread: Homework help

    by azerej
    Replies
    45
    Views
    18,206

    2. Be able to demonstrate and explain programs to...

    2. Be able to demonstrate and explain programs to your lecturer.

    Even if we create the code for you, do you think you can able to explain it?
  2. Replies
    6
    Views
    2,622

    else { if (PURCHASE >=0) ... } You...

    else
    {
    if (PURCHASE >=0)
    ...
    }


    You probably want an "else if" there. And you have an extra close brace "}" also.
  3. Replies
    14
    Views
    3,802

    Mixed Martial Arts, I'm guessing.

    Mixed Martial Arts, I'm guessing.
  4. Replies
    72
    Views
    18,339

    Hot or cold, brewed or in can, spiked or black......

    Hot or cold, brewed or in can, spiked or black... I love coffee.
  5. Replies
    9
    Views
    3,651

    VIM user here. Couldn't say its the best but...

    VIM user here. Couldn't say its the best but it works for me (needs a bit of getting used to though).
  6. Thread: hton long long

    by azerej
    Replies
    1
    Views
    3,695

    Looks good. I use one almost exactly like your...

    Looks good.

    I use one almost exactly like your code. Haven't encountered problems so far.
  7. Replies
    4
    Views
    3,485

    Okay, will try what you suggested. Kind of...

    Okay, will try what you suggested.

    Kind of weird to ask for a confirmation but I really wanted to be sure. You see I'm working on a porting project that states in its documents that I should use...
  8. Replies
    4
    Views
    3,485

    Thanks matsp. I knew it was too easy to work. ...

    Thanks matsp.

    I knew it was too easy to work. I was really hoping for a work around using htonl() and etc but from what I understand it converts by blocks rather than converting bit by bit...
  9. Replies
    4
    Views
    3,485

    bit fields and union

    Hi everyone,

    Just a quick question. If I make my code like this:



    typedef struct{
    unsigned long btfd1:8;
    unsigned long btfd2:8;
    unsigned long btfd3:8;
  10. Replies
    0
    Views
    1,965

    Bitfields, Bit/Little Endian

    <<split from http://cboard.cprogramming.com/showthread.php?t=95463 >>


    Sorry for bringing back an old thread, but I just want to be clarified.

    So, does this mean that it is not possible to...
  11. Replies
    4
    Views
    2,473

    Thank you! Yes, a pointer. Sorry, got it...

    Thank you!



    Yes, a pointer. Sorry, got it confused. Thank you for pointing that out.

    Uhm, I guess I was just using it as a filler. I was recreating the source code I saw from memory. I...
  12. Replies
    4
    Views
    2,473

    Pass structure by reference(?)

    Hello everyone.

    Long time reader, first time poster here. I had been interested in studying C for a long time and just recently finally decided to do so. Also been going through the tutorial...
Results 1 to 12 of 12