C示例和代码 [英] C examples and codes
问题描述
我读过关于学习C编程语言的文章。很多人都说
学习C的最好方法是阅读代码。
那么我在哪里可以找到代码和一些例子?
I have read about learning C programming language. Lots of them said
the best way to learn C is reading codes.
So where can I find codes and some examples?
推荐答案
10月12日下午5:06,Tsb< ntsetsb ... @ gmail.comwrote:
On Oct 12, 5:06 pm, Tsb <ntsetsb...@gmail.comwrote:
我读过关于学习C编程语言的文章。很多人都说
学习C的最好方法是阅读代码。
那么我在哪里可以找到代码和一些例子?
I have read about learning C programming language. Lots of them said
the best way to learn C is reading codes.
So where can I find codes and some examples?
http://www.google.com ?
Tsb< nt ******** @ gmail.comwrites:
Tsb <nt********@gmail.comwrites:
我读过有关学习C编程语言的知识。很多人都说
学习C的最好方法是阅读代码。
那么我在哪里可以找到代码和一些例子?
I have read about learning C programming language. Lots of them said
the best way to learn C is reading codes.
So where can I find codes and some examples?
FAR的最佳资源是Linux / Gnus源代码。大脏
应用程序有错误修复。您可能不会学习Ansi C,但是您将立即学习真实世界的Linux C ..特别是如果你提交了一个没有完成的
错误修复正确...
The best resources by FAR are the Linux/Gnus source codes. Big dirty
applications with bugs to fix. You might not learn "Ansi C", but you
will learn real world Linux C in no time.. especially if you submit a
bug fix which is not done properly...
10月12日上午9:06,Tsb< ntsetsb ... @ gmail.comwrote:
On Oct 12, 9:06 am, Tsb <ntsetsb...@gmail.comwrote:
我读过关于学习C编程语言的文章。很多人都说
学习C的最好方法是阅读代码。
那么我在哪里可以找到代码和一些例子?
I have read about learning C programming language. Lots of them said
the best way to learn C is reading codes.
So where can I find codes and some examples?
学习C的*最佳*方法是找到权威参考,例如Kernighan& Ritchie的The C Programming Language,第二版,或
Harbison&斯蒂尔的C:A参考手册,第5版(合在一起,
这两个应该会给你一个坚实的基础C作为任何东西
else) 。
99%的网络教程和示例都是*废话*,应该像瘟疫一样避免
;他们得到错误的基本概念,调用
未定义的行为,并促进糟糕的编程实践。那里有很多生产代码,但并不是更好。
The *best* way to learn C is to find an authoritative reference such
as Kernighan & Ritchie''s "The C Programming Language", 2nd ed., or
Harbison & Steele''s "C: A Reference Manual", 5th ed (taken together,
those two should give you as solid a foundation in C as anything
else).
99% of the tutorials and examples on the Web are *crap*, and should be
avoided like the plague; they get basic concepts wrong, invoke
undefined behavior, and promote bad programming practice. There''s a
lot of production code out there that isn''t much better.
这篇关于C示例和代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!