here's the code:
#include <windows.h>
#include <stdio.h>
#include <dir.h>
#include <string.h>
#define BUFSIZE 1024
Type: Posts; User: jloyd
here's the code:
#include <windows.h>
#include <stdio.h>
#include <dir.h>
#include <string.h>
#define BUFSIZE 1024
I got the counter working. For some reason the call
if(dwAttrs & FILE_ATTRIBUTE_DIRECTORY)
always is true. I found a way around the problem though. Thanks for all the help.
I have taken the function endsWith() completely now, thanks for the code peice it worked great. I have thrown a few more debug statements in the code and now I see the problem a bit more clearly:
...
Okay, your code worked to replace the endsWith() function, but it didn't solve my problem. Code there be some buffer problem in the code? I pulled some of it from MSDN and got other tidbits from...
I am writing a c program to recursivly search a path for .tff files and coutn them (Windows 2k). I have a program that does that correctly, but when I try to print out the count I get a weird...