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,...
Type: Posts; User: Andrew Thompson
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,...
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...
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.
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();...