|
dev.gamez.lv Latvian Game Developers Community
|
View previous topic :: View next topic |
Author |
Message |
coderpp
Joined: 20 Aug 2005 Posts: 167 Location: Rīga, Koknese, Gajiena
|
Posted: Wed Oct 11, 2006 4:17 pm Post subject: Help ar failiem mapees. |
|
Kaa lai es uzzinu cik un kaadi faili atrodas noteiktaa mapee? Programmeeju ar c++. |
|
Back to top |
|
|
bubu Indago Uzvarētājs
Joined: 23 Mar 2004 Posts: 3223 Location: Riga
|
Posted: Wed Oct 11, 2006 5:06 pm Post subject: |
|
Tas, ka tu programmē ar C++ neko vēl nenozīmē. Svarīga ir OS: Windows, Linux, DOS?
Pieņemot, ka Windows, tad laikam vislabākais variants ir lietot šīs fjas (turpat arī atradīsi piemēru):
FindFirstFile , FindNextFile
Ja uz citām OS, tad jāskatās uz <dirent.h> headeri. Cik man zināms MSVC komplektā nemaz nenāk šis headeris un attiecīgās fjas. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|