Just a quick note, be sure to compile with the -lncurses flag if you are using GCC/G++. Something like this should work:

root@syslinux /root/cppsource/># g++ -o starshooter -lncurses starshooter.c

that should be everything you need to get this to work.
