Ok so in my program I have developer mode, which just prints out info that I need for testing. You go into developer mode by putting a d after the program name. My problem is that if no command line parameters are input, the program gives a segmentation fault when run.
How would you ignore the fact that there's no command line parameters? I guess I could trigger developer mode in a different way but this seems like a good idea.
HELP PLZ