不使用任何内置功能打印? [英] Print without using any inbuilt function?

查看:64
本文介绍了不使用任何内置功能打印?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不使用printf()或内置任何其他内容的情况下打印任何内容

函数调用?

解决方案

" ragav" < sr *************** @ gmail.comwrites:


如何在不使用printf()的情况下打印任何内容任何其他内置的

函数调用?



使用笔和纸。


表格的问题如何不使用Y来做X,其中Y是明显的做X的方式,几乎总是做作业。


-

Keith Thompson(The_Other_Keith) ks***@mib.org < http://www.ghoti.net/~kst>

圣地亚哥超级计算机中心< *< http://users.sdsc.edu/~kst>

我们必须做点什么。这是事情。因此,我们必须这样做。


ragav写道:


如何在不使用printf的情况下打印任何内容( )或任何其他内置的

函数调用?



printf()不是用C语言内置的。你的问题没有便携式答案

。在_certain_系统下,您可以通过将字符代码值写入视频内存来打印到显示屏上,但是

在这方面要求进一步提出更具体的系统问题小组。


ragav说:


如何在不使用printf()的情况下打印任何内容或任何其他内置的

函数调用?



printf()不是内置函数调用。这只是一个函数调用。


如果你不想使用printf,请使用vprintf或vfprintf或puts或putchar

或putc或者fputc甚至是fwrite。这些都不是内置函数调用。


无论如何,printf有什么问题?你不喜欢吗?


-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上述域名中, - www。


How can i print anything without using printf( ) or anyother inbuilt
function calls??

解决方案

"ragav" <sr***************@gmail.comwrites:

How can i print anything without using printf( ) or anyother inbuilt
function calls??

Use a pen and paper.

Questions of the form "How can I do X without using Y", where Y is the
obvious way to do X, are almost invariably homework.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.


ragav wrote:

How can i print anything without using printf( ) or anyother inbuilt
function calls??

printf() is not in-built in the C language. There''s no portable answer
to your question. Under _certain_ systems, you may be able to print to
the display by writing character code values into the video memory, but
ask further questions in this regard to more system specific groups.


ragav said:

How can i print anything without using printf( ) or anyother inbuilt
function calls??

printf( ) isn''t an inbuilt function call. It''s just a function call.

If you don''t want to use printf, use vprintf or vfprintf or puts or putchar
or putc or fputc or even fwrite. None of these are inbuilt function calls.

What''s wrong with printf, anyway? Don''t you like it?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.


这篇关于不使用任何内置功能打印?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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