Free for PREMIUM members
[Webinar] Streamline your web hosting managementRegister Today
As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.
void getFiles(char *address)
printf(address ); // this line is showing strange characters
HANDLE hFind = INVALID_HANDLE_VALUE;
DirSpec = (LPSTR) malloc (BUFSIZE);
// Check for command-line parameter; otherwise, print usage.
if(argc != 2)
printf("Usage: Test <dir>\n");
// Check that the input is not larger than allowed.
StringCbLength(argv, BUFSIZE, &length_of_arg);
if (length_of_arg > (BUFSIZE - 2))
printf("Input directory is too large.\n");
Open in new window
int main(int argc, char *argv)
directory_path = (char*) malloc(strlen(argv)+4);
Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.