印刷QUOT; (双引号)用C

问题描述:

我写一个C code从文件读取,并生成一个中间 .C 文件。
要做到这一点我用 fprintf中()打印到该中间文件。

I am writing a C code which reads from a file and generates an intermediate .c file. To do so I use fprintf() to print into that intermediate file.

我如何打印

您可以使用转义符 \\例如

puts( "\"This is a sentence in quotes\"" );

printf( "Here is a quote %c", '\"' );

printf( "Here is a quote %c", '"' );