本文介绍了C历史 - 偷看()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 在完成一本关于C(KNK的第2版)的好书后,我拂去了一个老人 ,笑了两两次。这是'Traister'的'掌握C指针'''''''''''''''''''''''''$ $ $ $ b b b b b b b b b b b b b看看我10年前的帖子这里 in clc 知道这本书的质量可疑,他在第78页写的内容可能是 小说(但它有可能是真的): ``原始的C编程语言包含一个peek()函数[...]' ''' 这个可疑的陈述是否有任何基础? DMR? bwk? After completing a good book on C (KNK''s 2nd edition), I dusted off an oldiefor a good laugh or two. It''s Traister''s ``Mastering C Pointers'''' and I amaware of just how bad this book it. See my posting from 10 years ago herein c.l.c. Knowing the dubious quality of the book, what he writes on page 78 may befiction (but there''s a chance it may have been true): ``The original C programming language contained a peek() function [...]'''' Is there any basis in fact for this questionable statement? dmr? bwk?推荐答案 No. 1976 C参考手册: http://www.fh-jena.de/~kleine/histor ... enceManual.pdf 1967年BCPL参考手册: http://cm.bell-labs.com/cm/cs/who/dmr/bcpl.pdf 没有偷看()。 **发自 http://www.teranews.com ** No. The 1976 C reference manual: http://www.fh-jena.de/~kleine/histor...enceManual.pdf The 1967 BCPL reference manual: http://cm.bell-labs.com/cm/cs/who/dmr/bcpl.pdf No peek() whatsoever.** Posted from http://www.teranews.com ** PEEK和POKE是一个基本的东西。有一些旧的C编译器 将PEEK和POKE内在函数添加为扩展。 cc65在其中一个头文件中偷看了 和戳宏'我相信Radio Shack彩色电脑的一个 C编译器有PEEK和POKE 内在函数 AFAIK早期主流编译器都没有支持PEEK和 POKE。我刚刚查看了亨德里克斯的The Small C手册,而且它不会记录PEEK和POKE。 w .. PEEK and POKE was a basic thing. There were a few old C compilersthat added PEEK and POKE intrinsics as extensions. cc65 has peekand poke macro''s in one of the header files and I believe that one of theC compilers for Radio Shack color computer had PEEK and POKEintrinsics AFAIK none of the early main stream compilers supported PEEK andPOKE. I just checked The Small C Handbook by Hendrix and itdoesn''t document a PEEK and POKE. w.. 取决于您对早期主流的意思。 Turbo C有他们, 包括用于字节访问的peekb()和pokeb()。 Brian Depends on what you mean by early mainstream. Turbo C had them,including peekb() and pokeb() for byte access. Brian 这篇关于C历史 - 偷看()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-26 22:45