I have a simple question: How do I use the routine getopt with C++. What I did was to put extern int getopt(int,char **,char *); in the program. Now the loader complaints that getopt__FiPPcPc is undefined. How do I solve this? Mark Overmars