Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Converting Jultion Date/Time to Normal Calender Date & Time Pin
David Crow9-Oct-09 17:16
David Crow9-Oct-09 17:16 
AnswerRe: Converting Jultion Date/Time to Normal Calender Date & Time Pin
Richard MacCutchan9-Oct-09 22:55
mveRichard MacCutchan9-Oct-09 22:55 
QuestionWant to know about storing the output of FindFirstFile() and FindNextFile() in an array Pin
WindowsVsLinux9-Oct-09 9:40
WindowsVsLinux9-Oct-09 9:40 
AnswerRe: Want to know about storing the output of FindFirstFile() and FindNextFile() in an array Pin
includeh109-Oct-09 18:12
includeh109-Oct-09 18:12 
GeneralRe: Want to know about storing the output of FindFirstFile() and FindNextFile() in an array Pin
WindowsVsLinux9-Oct-09 19:55
WindowsVsLinux9-Oct-09 19:55 
GeneralRe: Want to know about storing the output of FindFirstFile() and FindNextFile() in an array Pin
Richard MacCutchan9-Oct-09 23:04
mveRichard MacCutchan9-Oct-09 23:04 
GeneralRe: Want to know about storing the output of FindFirstFile() and FindNextFile() in an array Pin
WindowsVsLinux9-Oct-09 23:49
WindowsVsLinux9-Oct-09 23:49 
GeneralRe: Want to know about storing the output of FindFirstFile() and FindNextFile() in an array Pin
Richard MacCutchan10-Oct-09 0:15
mveRichard MacCutchan10-Oct-09 0:15 
ravi 12 wrote:
can you please suggest me what type of data type i should use?


Well you need an array of strings, or more correctly char pointers, each of which needs to be initialised to point to a buffer large enough to hold the path name returned by FindNextFile(). Then you need to copy the returned path name into the next free item in the array, and continue your loop. however you still don't know how many items you will need to store, so you also need a mechanism for expanding your array.

As I suggested in my previous post, you should spend some time getting to know arrays of simple and complex types before trying this program.
GeneralIs there any way to store the output of FindFirstFile() and FindNextFile() in an array Pin
WindowsVsLinux10-Oct-09 23:21
WindowsVsLinux10-Oct-09 23:21 
Questionturbo c codes.. need help Pin
Tabang9-Oct-09 7:05
Tabang9-Oct-09 7:05 
AnswerRe: turbo c codes.. need help Pin
Richard MacCutchan9-Oct-09 7:17
mveRichard MacCutchan9-Oct-09 7:17 
QuestionRe: turbo c codes.. need help Pin
David Crow9-Oct-09 7:32
David Crow9-Oct-09 7:32 
AnswerRe: turbo c codes.. need help Pin
Nemanja Trifunovic9-Oct-09 7:37
Nemanja Trifunovic9-Oct-09 7:37 
GeneralRe: turbo c codes.. need help Pin
David Crow9-Oct-09 7:45
David Crow9-Oct-09 7:45 
GeneralRe: turbo c codes.. need help Pin
CPallini9-Oct-09 8:27
mveCPallini9-Oct-09 8:27 
GeneralRe: turbo c codes.. need help Pin
Tabang9-Oct-09 19:07
Tabang9-Oct-09 19:07 
GeneralRe: turbo c codes.. need help Pin
Tabang9-Oct-09 19:04
Tabang9-Oct-09 19:04 
AnswerRe: turbo c codes.. need help Pin
Tabang9-Oct-09 12:59
Tabang9-Oct-09 12:59 
GeneralRe: turbo c codes.. need help Pin
theCPkid9-Oct-09 22:57
theCPkid9-Oct-09 22:57 
AnswerRe: turbo c codes.. need help Pin
CPallini9-Oct-09 12:18
mveCPallini9-Oct-09 12:18 
AnswerRe: turbo c codes.. need help Pin
theCPkid9-Oct-09 22:48
theCPkid9-Oct-09 22:48 
GeneralRe: turbo c codes.. need help Pin
Tabang10-Oct-09 6:13
Tabang10-Oct-09 6:13 
GeneralRe: turbo c codes.. need help Pin
Tabang10-Oct-09 6:58
Tabang10-Oct-09 6:58 
GeneralRe: turbo c codes.. need help Pin
theCPkid10-Oct-09 15:50
theCPkid10-Oct-09 15:50 
QuestionFIle handling. turbo c Pin
Tabang9-Oct-09 6:53
Tabang9-Oct-09 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.