Update cursespp.c

fixed a bug , forgot an initial fgets