karma_police Posted September 25, 2004 Share Posted September 25, 2004 Im working in my homework and I dont know how to do the first part -get the list of all the directories and files contained in a specified path, I know how to do it in Windows using .NET but I must do it in C++ and must work in Linux. Any ideas? THX Link to comment Share on other sites More sharing options...
0 Andareed Posted September 25, 2004 Share Posted September 25, 2004 You should be able to use opendir and readdir. Check here: http://www.opengroup.org/onlinepubs/009695...ns/readdir.html Link to comment Share on other sites More sharing options...
0 karma_police Posted September 26, 2004 Author Share Posted September 26, 2004 THX and i found also: http://www.experts-exchange.com/Programmin...Q_20952948.html Link to comment Share on other sites More sharing options...
Question
karma_police
Im working in my homework and I dont know how to do the first part -get the list of all the directories and files contained in a specified path, I know how to do it in Windows using .NET but I must do it in C++ and must work in Linux.
Any ideas?
THX
Link to comment
Share on other sites
2 answers to this question
Recommended Posts