heyya, sorry if this is the wrong forum for this... but i can hardly be blamed =p...
anyway, my line of code that gives me problem is this
str[0] =ffd.cFileName;
where str is an array of strings, and ffd is of WIN32_FIND_DATA type.
ffd.cFileName should be of type TCHAR.
my error says "...cannot convert 'CHAR[260]' to char..."
im not so great at Win32 development (as you may of guessed) so basically.
typing "cout << ffd.cFileName" gives:-
New Text Document.txt
...in the console, i want to store "New Text Document.txt" (ffd.cFileName) into the first element of an array of strings (str).
how can i do this?
thanks alot D.R
(p.s. i hope i explained this well, if not feel free to reply saying so =])