It's a kludgy answer, but I did something like under Windows, where there's a system call that takes the file specifier pattern (like *.CAD) and generates a listing of all the files matching that pattern in a temp file, then processes them in order.
Sample source here: http://warrenmyers.com/code/C/grabline.cpp Don't know if that is quite what you're looking for, but it may help. WMM On 10/22/05, Randall Barlow <[EMAIL PROTECTED]> wrote: > > Warren Myers wrote: > > >Can you do something along the lines of <progname> *.CAD? > > > > > I've thought about that too. I'm fairly new to C++ programming, so I'd > just have to figure out how to get a list of files in the current > directory. This might be a good option too, thanks! > > Randy Barlow > -- > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug > TriLUG Organizational FAQ : http://trilug.org/faq/ > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ > -- http://warrenmyers.com "God may not play dice with the universe, but something strange is going on with the prime numbers." --Paul Erdős
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
