Hello everyone!
Today, I programed a program with c,but regrettly i didn't success;
My programe is as follows:
#include <stdio.h>
int main()
{
FILE* pFile ;
pFile = fopen("yuya.txt","wt");
if(pFile != NULL)
fputs("fopen is a function!",pFile);
fclose(pFile);
pFile = fopen("yuya1.pdf","w+");
if(pFile != NULL)
fputs("zhangyuya is a student !",pFile);
fclose(pFile);
return 0;
}
Problem: i create a PDF file successfully,but i don't open it with
adobe reader,as though i write many text in it, but i read its content
which i write with VC IDE,
WHY?