P.S. I think that the problem is in to the second if block
Type: Posts; User: Francesco Leone
P.S. I think that the problem is in to the second if block
OK sorry. When I start it there is a runtime error. It could show on the screen all file, directory and files that there are into the directory. If I start it I'll see a lot of points!
.
.
....
#include <iostream>
#include <string>
#include <Windows.h>
void printFile( HANDLE, WIN32_FIND_DATA );
int main()
{
HANDLE indice;
WIN32_FIND_DATA infoFile;
thank you both!
For other user that they will have same problem, this is the solution:
...
isDirectory = GetFileAttributes( struttura.cFileName );
if ( isDirectory ==...
Hi all! Is there a Windows function that check me if it's a directory? If it doesn't exist, is there a mode?