![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Feb 2008
Posts: 15
Rep Power: 0
![]() |
Need some help again!
I made a topic some 2 weeks ago about a program i need to do and since then i tried hard using all the help i got and i am about to finish up my program.
My program needs to find 2 files with same name and possibly same size/creation date.The user should give the path for the desired directory and the program should solve the rest. Now as i said i am about to finish it,since i have found solution to make the program proccess not only the desired folder but the subfolders also using recursion.Only the problem is that i am stuck a bit at the end,here is the code i have written so far. <c++> Syntax (Toggle Plain Text)
Ok the code seems to be finished,exept the fact that i can't add all the elements of the 3 arrays:path cst and data cFileName in NewDirPath.If they were strings i could concatenate them,but then i couldn't use recursion on NewDirPath since the function receives pointers to array of chars only as arguments.And also as you have already noted,this function compares nothing,so far,it only prints out all the files in a directory,i would like to get an advice on that please. Thanks in advance! Last edited by Marijan; Jun 8th, 2008 at 4:25 PM. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|