打印到文件c ++ [英] print to file c++

查看:122
本文介绍了打印到文件c ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在c ++中打印文件



pole99hode

How do you print to a file in c++


pole99hode

推荐答案

嗨pole99hode,

Hi pole99hode,

感谢您在此处发布。

>>如何使用c ++打印文件

您能否更具体地解释一下您的要求?

Could you explain your requirement more specifically?

我会建议你这两种方法,希望这些可以帮到你。

I will suggest you these two methods, hope these could be help of you.

1。 fprintf_s 。它可以将格式化数据打印到文件流中。

1. fprintf_s. It could print formatted data to a file stream.

2。 PrintDlgEx 。它可以显示"打印"属性表,使用户可以指定特定打印作业的属性。

2. PrintDlgEx. It could display a Print property sheet that enables the user to specify the properties of a particular print job.

最诚挚的问候,

Sera Yu


这篇关于打印到文件c ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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