C中有什么方法可以打印吗? ? [英] Is there any way in C to print ? ?
问题描述
我正在寻找一种打印方式?在C程序中。你们中的任何人可以帮助我吗?
问候,
Raju
Hi,
I''m looking for a way to print ? in a C program. Could any of you
help me out?
Regards,
Raju
推荐答案
g.kanaka.r ... @ gmail.com写道:
g.kanaka.r...@gmail.com wrote:
我是寻找打印方式?在C程序中。你们中的任何人能帮帮我吗?
Hi,
I''m looking for a way to print ? in a C program. Could any of you
help me out?
putchar(''?'');
虽然这不是严格遵守的吗?不是
基本
执行字符集的成员。
在C99下,你可以尝试...
putchar(''\ u00AE'');
你可以做...
printf("");
....并通过html浏览器输出你的输出。
最后,只是do printf("(R)");
-
彼得
putchar(''?'');
Though this is not strictly conforming since ? is not a member of the
basic
execution character set.
Under C99, you can try...
putchar(''\u00AE'');
You could do...
printf("®");
....and pipe your output through a html browser.
Lastly, just do printf("(R)");
--
Peter
>
试试这个:
/ * CODE BEGINS * /
putchar(174);
/ * CODE ENDS * /
只有你的系统字符集支持
字符才能工作。
try this:
/*CODE BEGINS*/
putchar(174);
/*CODE ENDS*/
it will only work however if your system character set supports that
character.
2005-11-15,Peter Nilsson< ai *** @ acay.com.au>写道:
On 2005-11-15, Peter Nilsson <ai***@acay.com.au> wrote:
g.kanaka.r ... @ gmail.com写道:
g.kanaka.r...@gmail.com wrote:
我正在寻找一种方式打印 ?在C程序中。你们中的任何一个人能帮助我吗?
Hi,
I''m looking for a way to print ? in a C program. Could any of you
help me out?
putchar(''?'');
虽然这不是严格遵守的?不是
基本
执行字符集的成员。
在C99下,你可以尝试......
putchar(''\ u00AE'');
你可以做...
printf("®");
...并管你的通过html浏览器输出。
最后,只需要执行printf((R));
putchar(''?'');
Though this is not strictly conforming since ? is not a member of the
basic
execution character set.
Under C99, you can try...
putchar(''\u00AE'');
You could do...
printf("®");
...and pipe your output through a html browser.
Lastly, just do printf("(R)");
什么是(R)的法律地位?我知道(c)没有任何合法的
状态,尽管在自动版权为
的司法管辖区内几乎不重要。
What''s the legal status of (R)? I know that (c) doesn''t have any legal
status, though it hardly matters in jurisdictions where copyright is
automatic.
这篇关于C中有什么方法可以打印吗? ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!