Using scanf leaves the newline character unread in the input stream (stdin).
G_ask_cell_old uses gets(), which reads until a newline character then
discards the newline & adds a null, leaving you with the null.
Probably the best way around this is to add:
fflush(stdin);
after you're done doing your scanf().
- Bill