[lug] OT: cpp programing question
D. Stimits
stimits at idcomm.com
Thu Apr 4 14:18:29 MST 2002
Ken Weinert wrote:
>
> The itoa() has been sufficiently dealt with, but you might also take a look
> at scandir()/readdir()/etc series of calls for finding files in the directory.
>
> I'm not sure exactly how the _findfirst() works (ie, is it recursive or only
> single level) so these directory calls might not be directly related, but
> it's at least another avenue to wander down :)
It's a lot like an iterator, it_name.begin(). Then there is findnext
(but I think the _ versions are all wrapped). Wish my MSDN didn't
voluntarily, for my own good, deactivate itself, claiming it was "too
old and I should get a new subscription".
D. Stimits, stimits at idcomm.com
>
> On Wednesday 03 Apr 2002 19:08, you wrote:
> > error log:
> > killer.cpp:271: `_findfirst' undeclared (first use this function)
> >
> > source:
> > if( (hFile = _findfirst( "*.APX1", &c_file )) == -1L )
>
> --
> Ken Weinert mc at morat.net
> GnuPG KeyID: 9274F1CE GnuPG available at http://www.gnupg.org/
> GnuPG Key Fingerprint: 1D87 3720 BB77 4489 A928 79D6 F8EC DD76 9274 F1CE
> Asi um i tio -- Hero is hidden
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list