肚子痛挂什么科| 孕妇什么情况容易早产| 仓鼠是什么科动物| 楠字五行属什么| 鱼油是什么| 小孩感冒挂什么科| 什么是传染性软疣| 孕妇梦见狗是什么意思| 弥漫性脂肪肝什么意思| 梅花什么时候开| 八月二号是什么星座| ye是什么颜色| 做梦梦到蛇是什么征兆| 秦始皇原名叫什么| 脂肪肝适合吃什么食物| 八院是什么医院| 高胰岛素血症是什么病| 儿童胃肠型感冒吃什么药| 尿酸高都有什么症状| 晚上饿了吃什么不长胖| 酵母样真菌是什么意思| 锡兵是什么| 青黄不接是什么意思| 撕漫男是什么意思| 红细胞偏低有什么危害| 类风湿是什么原因引起的| dc是什么| 被强奸是什么感觉| 黑色加什么颜色是棕色| ro是什么意思| 祝著节是什么时候| 股票套牢是什么意思| 为什么不建议切除脂肪瘤| 隔离的作用是什么| er是什么| 赘婿是什么意思| 宫颈癌做什么检查| 37是什么意思| 乌龟和鳖有什么区别| 身陷囹圄是什么意思| 左手大拇指抖动是什么原因| 讥讽的笑是什么笑| 非特异性t波异常是什么意思| 吃什么最补肾壮阳| 什么是家庭教育| 军绿色裤子配什么上衣| 比肩劫财是什么意思| 什么是医院感染| 证明是什么意思| 四十年是什么婚| 现在当兵需要什么条件| 孕妇待产需要准备什么| miu什么牌子| 霉菌性阴道炎用什么药好| 18是什么意思| 大限将至什么意思| uhd是什么意思| 12颗珠子的手串什么意思| 床上为什么会有跳蚤| 牙疼吃什么| 本能是什么意思| 食欲不振是什么原因| 五经指什么| 虫草适合什么人吃| 苏打水有什么好处| 看心脏病挂什么科| 97年的牛是什么命| 金达莱是什么花| 羊水暗区是什么意思| 618是什么意思| 血沉高忌口什么| 三星是什么军衔| 智齿为什么会长出来| sly是什么牌子| 2岁属什么生肖| 口吐白沫是什么原因| 小腹胀痛是什么原因| 1993年五行属什么| 大臣是什么意思| 用什么挠脚心最痒| cm2是什么单位| 丁是什么意思| 什么叫打板| 关节炎吃什么药| 女人补铁有什么好处| 大便陶土色是什么颜色| 小孩子为什么老是流鼻血| 为什么睡觉会流口水| 嗓子哑是什么原因引起的| 什么是ph值| 孙权字什么| 什么的水井| 恩施有什么好玩的| 女儿红属于什么酒| 每逢佳节倍思亲的上一句是什么| 十年什么婚| 脑梗有什么症状前兆| 6像什么| 上门女婿什么意思| 平头哥是什么意思| 高大上是什么意思| 气管炎吃什么药| 重症医学科是干什么的| 黄豆煲汤搭配什么最好| 产后为什么脸部松弛| 香草是什么植物| 盆浴是什么意思| 甲状腺欠均匀什么意思| 下元节是什么节日| 什么人容易得帕金森病| 贵人是什么意思| 卵黄囊回声是什么意思| 高烧吃什么药| 吴亦凡帅到什么程度| 湿疹是什么样子| 避孕套和安全套有什么区别| 黄芪主治什么病| 今日立冬吃什么| 女人梦见狼是什么预兆| 什么植物和动物很像鸡| 颌下腺肿大是什么原因| prr是什么意思| 肌酐升高是什么原因| 不到长城非好汉的下一句是什么| 盗汗吃什么药效果最快| 黄五行属什么| 右侧中耳乳突炎是什么意思| 儿童坐飞机需要什么证件| 美人是什么生肖| 女性阴道长什么样| 擦伤涂什么药膏| 上海最高楼叫什么大厦有多少米高| 办健康证要带什么证件| 风寒感冒吃什么水果| 中元节是什么节| 它是什么用英语怎么说| 木元念什么| 同房后为什么会出血| 草莓什么时候种植最好| 目眩是什么症状| 脉压是什么| 女属猪的和什么属相最配| 梭织面料是什么面料| 猫咪打呼噜代表什么| 毛豆子炒什么好吃| 做绝育手术对女人有什么影响| 异位性皮炎是什么意思| 阑尾在人体的什么位置| 幽门螺杆菌是一种什么病| 荏苒是什么意思| 血液病是什么| 戒心是什么意思| 发烧应该吃什么药| 肾阴虚吃什么药| 大便羊粪状吃什么药| 尿频尿急尿不尽挂什么科| 更年期有什么表现| 灵魂伴侣是什么意思| 诸葛亮号什么| 黄精吃了有什么好处| 什么地叹气| 什么是强直性脊柱炎| 吃西红柿有什么好处和坏处| 双马尾是什么意思| 心率过高是什么原因| l是什么码| 二十年是什么婚| 春天的雨是什么| 来月经属于什么期| aca是什么意思| 中央委员什么级别| 痛风是什么病| 脸上长藓用什么药| 刘德华属什么生肖| 宫颈息肉吃什么药能消| 釉是什么| 霜降穿什么衣服| 莘莘学子什么意思| 后装治疗是什么意思| 猪鬃为什么是战略物资| 户籍地填什么| 燕窝是什么| 为什么怀孕前三个月不能说| 农历今天属什么生肖| 心气虚吃什么药| 广州为什么叫羊城| 胸前出汗多是什么原因| 肝炎挂什么科| 长期服用丙戊酸钠有什么副作用| 94年属什么| 存在感是什么意思| 着床出血是什么意思| 心衰竭吃什么药效果好| 为什么老是咳嗽| 蛇怕什么家禽| 计算机二级什么时候查成绩| 做胃镜前要注意什么| 一九三五年属什么生肖| 46是什么意思| 做腋臭手术挂什么科室| 韭菜补什么| 狗肚子有虫子吃什么药| 微信拉黑和删除有什么区别| 修成正果是什么意思| 颈椎病挂号挂什么科| 不割包皮有什么影响| 肚子痛拉肚子吃什么药| 君子兰的寓意是什么| 低压高吃什么| 通房是什么意思| 苦瓜泡水喝有什么功效和作用| 龟头炎用什么药膏| 苦荞茶有什么作用| 手指盖空了是什么原因| 真菌感染什么症状| 甲木命是什么意思| 什么情况下才做冠脉cta| 兰花是什么季节开的| 紫颠是什么病怎样治| 1959属什么生肖| 欲望是什么意思| 肛门下坠感是什么原因| 阴道发白是什么原因| yair是什么牌子的空调| 一念之间什么意思| 梦见很多牛是什么兆头| 事例是什么意思| 螃蟹吃什么| 健康证照片用什么底色| bmg是什么意思| 621什么星座| 宝宝照蓝光有什么副作用| osd是什么意思| 斯里兰卡说什么语言| 闹乌龙是什么意思| 彪马属于什么档次| 绿萝叶子发黄是什么原因| 鹦鹉鱼能和什么鱼混养| 肾阴虚是什么症状| 什么叫自然拼读| 杭州有什么| 得了狂犬病有什么症状| 甲鱼喜欢吃什么食物| 茶色尿是什么原因引起的| 六一送女孩子什么礼物| 半硬半软是什么症状| 吃芒果后不能吃什么| 查胆囊挂什么科| 为什么吃甲鱼不吃乌龟| 夏天要注意什么| 脖子淋巴结肿大是什么原因| 携字去掉提手旁读什么| 榴莲有什么品种| 日柱国印是什么意思| 小狗拉稀吃什么药| 未时属什么生肖| 黄褐斑是什么样的图片| 榄仁叶是什么树的叶子| 针眼是什么原因引起的| 面瘫挂什么科| 梦见下小雨是什么征兆| 急性鼻窦炎吃什么药| 2月15是什么星座| 白蛋白是什么| 百度

原油期货可交割油种7个,8家银行具备境外客户保证金存管资格

百度   通过摸底,余峻舟对如何扶贫有了自己的想法。

The C Programming Language (sometimes termed K&R, after its authors' initials) is a computer programming book written by Brian Kernighan and Dennis Ritchie, the latter of whom originally designed and implemented the C programming language, as well as co-designed the Unix operating system with which development of the language was closely intertwined. The book was central to the development and popularization of C and is still widely read and used today[when?]. Because the book was co-authored by the original language designer, and because the first edition of the book served for many years as the de facto standard for the language, the book was regarded by many to be the authoritative reference on C.[1][2]

The C Programming Language
Cover of first edition
Author
LanguageEnglish
SubjectC programming language
PublisherPrentice Hall
Publication date
  • 1978: first edition
  • 1988: second edition
ISBN9780131101630

History

edit

C was created by Dennis Ritchie at Bell Labs in the early 1970s as an augmented version of Ken Thompson's B.[3] Another Bell Labs employee, Brian Kernighan, had written the first C tutorial,[4] and he persuaded Ritchie to coauthor a book on the language.[5] Kernighan would write most of the book's "expository" material, and Ritchie's reference manual became its appendices.

The first edition, published February 22, 1978, was the first widely available book on the C programming language. Its version of C is sometimes termed K&R C (after the book's authors), often to distinguish this early version from the later version of C standardized as ANSI C.[6]

In April 1988, the second edition of the book was published, updated to cover the changes to the language resulting from the then-new ANSI C standard, particularly with the inclusion of reference material on standard libraries. The second edition of the book (and as of 2024, the most recent) has since been translated into over 20 languages.[7] In 2012, an eBook version of the second edition was published in ePub, Mobi, and PDF formats.[8]

C was first standardized in 1989 (as ANSI X3.159-1989) and has since undergone several revisions. However, no new edition of The C Programming Language has been issued to cover the more recent standards.

Reception

edit

Byte magazine stated in August 1983, "[The C Programming Language] is the definitive work on the C language. Don't read any further until you have this book!"[1] Jerry Pournelle wrote in the magazine that year that the book "is still the standard ... a bit terse". He continued, "You can learn the C language without getting Kernighan and Ritchie, but that's doing it the hard way. You're also working too hard if you make it the only book on C that you buy."[9]

Influence

edit

The C Programming Language has often been cited as a model for technical writing, with reviewers describing it as having clear presentation and concise treatment. Examples generally consist of complete programs of the type one is likely to encounter in daily use of the language, with an emphasis on system programming. Its authors wrote,

We have tried to retain the brevity of the first edition. C is not a big language, and it is not well served by a big book. We have improved the exposition of critical features, such as pointers, that are central to C programming. We have refined the original examples, and have added new examples in several chapters. For instance, the treatment of complicated declarations is augmented by programs that convert declarations into words and vice versa. As before, all examples have been tested directly from the text, which is in machine-readable form.

—?preface to the second edition[10]

 
"Hello, World!" program by Brian Kernighan (1978)

The book introduced the "Hello, World!" program, which prints only the text "hello, world" as an illustration of a minimal working C program. Since then, many texts have followed that convention for introducing a programming language.

Before the advent of ANSI C, the first edition of the text served as the de facto standard of the language for writers of C compilers. With the standardization of ANSI C, the authors more consciously wrote the second edition for programmers rather than compiler writers, writing,

Appendix A, the reference manual, is not the standard, but our attempt to convey the essentials of the standard in a smaller space. It is meant for easy comprehension by programmers, but not as a definition for compiler writers—that role properly belongs to the standard itself. Appendix B is a summary of the facilities of the standard library. It too is meant for reference by programmers, not implementers. Appendix C is a concise summary of the changes from the original version.

—?preface to the second edition[10]

The influence of The C Programming Language on programmers, a generation of whom first worked with C in universities and industry, has led many to accept the authors' programming style and conventions as recommended practice, if not normative practice. For example, the coding and formatting style of the programs presented in both editions of the book is often referred to as "K&R style" and became the coding style used by convention in the source code for the Unix and Linux kernels.

See also

edit

References

edit
  1. ^ a b Ward, Terry A. (August 1983). "Annotated C / A Bibliography of the C Language". Byte. p. 268. Retrieved January 31, 2015.
  2. ^ Prinz, Peter; Crawford, Tony (December 16, 2005). C in a Nutshell. O'Reilly Media, Inc. p. 3. ISBN 9780596550714.
  3. ^ Ritchie, Dennis M. (1993b). Thomas J. Bergin; Richard G. Gibson (eds.). "The Development of the C Language". The Second ACM SIGPLAN Conference on History of Programming Languages (HOPL-II). New York City: Association for Computing Machinery: 201–208. doi:10.1145/154766.155580. Wikidata Q29392176.
  4. ^ "Leap In and Try Things: Interview with Brian Kernighan". Harmony at Work. October 24, 2009. Archived from the original on July 23, 2012. Retrieved March 3, 2013.
  5. ^ Computerphile (August 18, 2015). "'C' Programming Language: Brian Kernighan - Computerphile". YouTube. Archived from the original on December 21, 2021. Retrieved November 11, 2018.
  6. ^ Kernighan, Brian W.; Ritchie, Dennis M. (1978). The C Programming Language (1st ed.). Englewood Cliffs: Prentice Hall. ISBN 978-0-13-110163-0. LCCN 77028983. OCLC 3608698. OL 4558528M. Wikidata Q63565563.
  7. ^ Kernighan, Brian W. "The C Programming Language, Second Edition". Princeton University. Retrieved February 18, 2023.
  8. ^ Keninghan, Brian W. (October 1, 2012). "An Interview with Brian Kernighan on C and The C Programming Language". InformIT (Interview). Interviewed by John Wait.
  9. ^ Pournelle, Jerry (December 1983). "The User Looks at Books". Byte. p. 519. Retrieved July 24, 2016.
  10. ^ a b Kernighan, Brian W.; Ritchie, Dennis M. (1988). The C Programming Language (2nd ed.). Upper Saddle River: Prentice Hall. ISBN 978-0-13-110362-7. LCCN 88005934. OCLC 254455874. OL 2030445M. Wikidata Q63413168.
edit
C language standards Succeeded by
C89 / C90 / "ANSI C"
(2nd edition of book)
男人更年期吃什么药 耳鸣是什么原因引起的嗡嗡的响 中暑了吃什么药 欣喜若狂是什么意思 劫色是什么意思
布施什么意思 吃什么丰胸效果好又快 格格不入是什么意思 o是什么牌子 做梦梦见老公出轨是什么意思
洗衣机漏水是什么原因 门神是什么意思 zoom是什么意思 奔走相告是什么意思 叶赫那拉氏是什么旗
桃子是什么形状 榴莲什么时候吃是应季 学字五行属什么 黑户是什么 股骨径是指胎儿什么
呵呵的含义是什么意思dajiketang.com 女生左手无名指戴戒指什么意思hcv8jop6ns9r.cn 猫毛过敏吃什么药hcv8jop6ns8r.cn 痰盂是什么意思helloaicloud.com 身体欠佳什么意思hcv7jop9ns0r.cn
豌豆什么时候种最好hcv9jop6ns7r.cn 牙齿为什么会变黄hcv9jop4ns0r.cn 火疖子是什么引起的hcv8jop8ns5r.cn 嗓子苦是什么原因引起的hcv8jop9ns3r.cn ckd3期是什么意思hcv8jop4ns0r.cn
头发爱出油什么原因hcv9jop5ns8r.cn 胃出血恢复期吃什么好hcv9jop1ns6r.cn 8月26号是什么星座hcv9jop5ns5r.cn 排卵期什么意思hcv8jop6ns0r.cn 乖戾是什么意思wmyky.com
三油甘脂是什么hcv8jop7ns2r.cn o型血不能和什么血型的人生孩子hcv8jop8ns9r.cn 桂花是什么季节开的zhongyiyatai.com 什么的眼泪hcv8jop1ns1r.cn 经血颜色淡是什么原因hcv8jop9ns1r.cn
百度