O
ose
How to convert the "while" stetement in the following code from Linux to run
on Windows?
while((c= getopt(argc, argv, "i:x:c:lkh")) != -1)
{
switch(c)
{
case 'g':
...
case 'h'
...
default: break;
}
}
on Windows?
while((c= getopt(argc, argv, "i:x:c:lkh")) != -1)
{
switch(c)
{
case 'g':
...
case 'h'
...
default: break;
}
}