Try a code block:
PHP Code:FILE *pFile = fopen("pw.txt", "a");
if (pFile != NULL)
{
for (int i = 1; i <= stop; i++)
{
//fprintf stuff
}
fclose(pFile);
printf("Successfully written to file");
}
else {
printf("Could not open output file");
}
getchar();




Reply With Quote