Thanks, I'll try it.
[EDIT] Worked! Thanks, Valaris. Silly me for not thinking of something as simple as that...
Type: Posts; User: Bomb
Thanks, I'll try it.
[EDIT] Worked! Thanks, Valaris. Silly me for not thinking of something as simple as that...
You misunderstand what I'm asking. I want to know how I'd do this. What string function is appropriate for this sort of thing? Would I use strlen to test whether it's empty?
How would I append to the first element of a string array? So suppose I have this:
char *array[ 10 ];
Indexes 0-3 contain strings. The rest are empty. How do I create a function that reads...
Thanks for the help. I'll look into it.
I'm using Mac OS X Leopard, but writing in C for maximum cross-compatibility.
I'm writing a real-time text adventure. However, there is one problem that never ceases to annoy me: the fact that whenever output is printed, it overwrites the line with the user's input.
Does...