getopt() function in visual C++
Ok, I wrote a simple program in under UNIX and Linux with a call to getopt() ...in that program, for UNIX I didn't have to include any .h header files...under Linux I had to include unistd.h ... now in Visual C++ , the compiler doesn't recognize getopt.h or unistd.h...I've been googling for an hour now...could anyone please help...I'm just trying to read a commmad line option of "-x" using getopt...yes, I tryed to search the MSDN documentation and the microsoft site...no luck..please help
|