im trying to write a program that can handle multiple command line args. i have one working version using the unistd.h library but this only works in linux for mei(n windows using Dev-C++ it gives errors using optarg) but this need(seems) to need args to be in a certain order. im new at this but i have tried using a for loop but it just doesnt work out well.
any advice?
thanks