- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
if((pDir = opendir(pchPath)) != NULL)
{
strcpy(chBuffer, pchPath);
strcat(chBuffer, "/");
while((pTemp == NULL) && ((pDirent = readdir(pDir)) != NULL))
{
if(((pChar = strstr(pDirent->d_name, Info.pchFilePrefix)) == pDirent->d_name) &&
((pChar = strstr(pDirent->d_name, Info.pchFileExtension)) != NULL) &&
(pChar[strlen(Info.pchFileExtension)] == '\0'))
{
sprintf(strrchr(chBuffer, '/') + 1, "%s", pDirent->d_name);
bormand 21.05.2015 19:25 # +2
Dummy00001 21.05.2015 19:33 # 0
dimka3210 22.05.2015 10:57 # 0
чиатать как "строкой сру"?
Dummy00001 22.05.2015 11:02 # 0
а это строкой "ссать"?
dimka3210 22.05.2015 13:07 # 0