如何使用C/cpp语言转换pdf文件? [英] How to convert a file in pdf using C/cpp language?

查看:589
本文介绍了如何使用C/cpp语言转换pdf文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们必须使用c语言将整个文件写入pdf格式,这对我的项目非常重要.感谢找到任何解决方案.

我尝试过的事情:

我们已经尝试过FOPEN("data.pdf","a +"),但无法以pdf格式查看,

we have to write total file into pdf format by using c language, this is very important to my project.thanks if any solutions found.

What I have tried:

we have tried by FOPEN("data.pdf","a+"), but not able to see in the format of pdf,
can anybody done this before or is it possible in C/CPP?

推荐答案

您可以使用第三方库创建pdf.
请检查以下链接以获取更多详细信息-
PDFlib 6 [ GitHub-libharu/libharu:libharu-免费的PDF库 [ JagPDF-PDF生成库 [ ^ ]

希望对您有帮助:)
You can use third party libraries to create pdfs.
Please check following links for further details-
PDFlib 6[^]
GitHub - libharu/libharu: libharu - free PDF library[^]
JagPDF - PDF Generation Library[^]

Hope, it helps :)


这篇关于如何使用C/cpp语言转换pdf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆