Search:

Type: Posts; User: Andrew Thompson

Search: Search took 0.00 seconds.

  1. Replies
    23
    Views
    3,184

    Oh, avoid that if you can. If you need a specific...

    Oh, avoid that if you can. If you need a specific algorithm, ask about that, and we can probably help you. It's likely already been solved publicly.

    On the other hand, Mathematica only costs $295,...
  2. Remember you need to free() these things....

    Remember you need to free() these things. Sometimes I find it easier to just make a double array:


    char strArray[10][20];

    Because it saves me from writing two for loops (one for freeing and...
  3. Replies
    6
    Views
    1,151

    It's compiler/CPU specific, but 4 is common...

    It's compiler/CPU specific, but 4 is common nowadays.

    On a 16bit machine, the output would be 2.
    On a 64bit machine, the output would (probably) be 8.
  4. It might also be worth mentioning ncurses, you...

    It might also be worth mentioning ncurses, you can read chapter 7 of the tutorial: Input functions

    So in your program, you could do something like:


    #include <ncurses.h>


    initscr();...
Results 1 to 4 of 4