Search:

Type: Posts; User: 3rdcoast

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,606

    Knuth's TAOCP is the most difficult set of books...

    Knuth's TAOCP is the most difficult set of books on algorithms I've ever seen. They are exceptional, but will require work unlike any other algorithms text you will find, and they're missing a lot of...
  2. Replies
    8
    Views
    1,125

    fgets ...

    fgets

    http://irc.essex.ac.uk/www.iota-six.co.uk/c/i2_feof_fgets_fread.asp
  3. Replies
    3
    Views
    5,103

    Wow... that may be the easiest homework problem...

    Wow... that may be the easiest homework problem I've ever seen posted on one of these boards.
  4. Replies
    22
    Views
    3,027

    My best guess is that the compiler determined the...

    My best guess is that the compiler determined the brute force way wasn't too bad with 4 cases. Either that, or MS wants you to buy the pro compiler to get the benefits of using jump tables in...
  5. Replies
    12
    Views
    2,823

    I love K&R (aka, The C Programming Language). You...

    I love K&R (aka, The C Programming Language). You never feel like you're just writing some crap or a toy program in it. You begin writing really useful programs from page 15 on. If you have Linux,...
  6. Replies
    22
    Views
    3,027

    Did you compile with no optimization? A switch...

    Did you compile with no optimization? A switch statement shouldn't result in comparisons being done for every possible value (the list of cmp and je statements bunched together in the first example)....
  7. Replies
    23
    Views
    2,949

    If I had one suggestion, it would be not to learn...

    If I had one suggestion, it would be not to learn C++ as a first language. I love C++ and the power it gives, but C++ is really like a bunch of very different languages bunched together.

    Another...
  8. Replies
    22
    Views
    3,027

    As I understand it, switch statement is kind of...

    As I understand it, switch statement is kind of like an array of instructions. A jump table is created, which is like an array of pointers to the code for each case. I.e., for case 1, the code at...
Results 1 to 8 of 8