C历史 - 偷看()? [英] C history - peek()?

查看:71
本文介绍了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 oldie
for a good laugh or two. It''s Traister''s ``Mastering C Pointers'''' and I am
aware of just how bad this book it. See my posting from 10 years ago here
in c.l.c.

Knowing the dubious quality of the book, what he writes on page 78 may be
fiction (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?

推荐答案

" Bob Nelson" < bn ***** @ nelsonbe.com写信息

news:g2 ********** @ renpen.nelsonbe.com ...
"Bob Nelson" <bn*****@nelsonbe.comwrote in message
news:g2**********@renpen.nelsonbe.com...

完成一本关于C的好书(KNK'的第2版)后,我拂去了一张

oldie

笑一两笑。这是'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
oldie
for a good laugh or two. It''s Traister''s ``Mastering C Pointers'''' and I am
aware of just how bad this book it. See my posting from 10 years ago here
in c.l.c.

Knowing the dubious quality of the book, what he writes on page 78 may be
fiction (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 **




Bob Nelson写道:


Bob Nelson wrote:

完成一本关于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 oldie
for a good laugh or two. It''s Traister''s ``Mastering C Pointers'''' and I am
aware of just how bad this book it. See my posting from 10 years ago here
in c.l.c.

Knowing the dubious quality of the book, what he writes on page 78 may be
fiction (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?



PEEK和POKE是一个基本的东西。有一些旧的C编译器

将PEEK和POKE内在函数添加为扩展。 cc65在其中一个头文件中偷看了

和戳宏'我相信Radio Shack彩色电脑的一个

C编译器有PEEK和POKE < br $>
内在函数


AFAIK早期主流编译器都没有支持PEEK和

POKE。我刚刚查看了亨德里克斯的The Small C手册,而且它不会记录PEEK和POKE。


w ..

PEEK and POKE was a basic thing. There were a few old C compilers
that added PEEK and POKE intrinsics as extensions. cc65 has peek
and poke macro''s in one of the header files and I believe that one of the
C compilers for Radio Shack color computer had PEEK and POKE
intrinsics

AFAIK none of the early main stream compilers supported PEEK and
POKE. I just checked The Small C Handbook by Hendrix and it
doesn''t document a PEEK and POKE.

w..


Walter Banks写道:
Walter Banks wrote:

PEEK和POKE是一个基本的东西。有一些旧的C编译器

将PEEK和POKE内在函数添加为扩展。 cc65已经偷看了b $ b并且在其中一个头文件中戳了一下宏''我认为其中一个用于Radio Shack彩色电脑的C编译器有一个PEEK和POKE < br $>
内在函数


AFAIK早期主流编译器都没有支持PEEK和

POKE。我刚刚检查了Hendrix的The Small C手册,它没有记录PEEK和POKE。
PEEK and POKE was a basic thing. There were a few old C compilers
that added PEEK and POKE intrinsics as extensions. cc65 has peek
and poke macro''s in one of the header files and I believe that one of
the C compilers for Radio Shack color computer had PEEK and POKE
intrinsics

AFAIK none of the early main stream compilers supported PEEK and
POKE. I just checked The Small C Handbook by Hendrix and it
doesn''t document a PEEK and POKE.



取决于您对早期主流的意思。 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历史 - 偷看()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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