www.delorie.com/djgpp/bugs/show.cgi | search |
#include <dir.h> #include <iostream.h> void main() { struct ffblk f; int done; done = findfirst("*.*", &f, 0); while (!done) { cout << f.ff_name << endl; done = findnext(&f); } } Does not work as it leaves out the first two characters of every file name! Is this my code or is it a genuine bug. I have tried everything! Please help!
The problem appears to be fixed in DJGPP 2.01!
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |