Will c write and read effectively from a .pdf file?
Will c write and read effectively from a .pdf file?
If you use a third-party library for reading and writing from/to a .pdf file.
ooh. That not gonna happen.
Is there any read only file types that c supports
By itself, all C does is read the file, byte for byte. There are no "file types" whatsoever. If you want to read/write a specific format (either one that exists out there, or that you dream up), then you need to either find or write the code to write the data and to read it in.
so if i put
it will open and write to a pdf file?Code:fopen("file.pdf"."r");
This might help : Adobe - PDF Developer Center: PDF reference
Ok, fopen may help, but its used to read\write (r\w) to a file.
if you want to make a PDF file using fopen\fprintf, lets just say,
you will just make a .txt file with the .pdf extention. unless,
you study the core of pdf and use fprint following the core of
a pdf.