ImageVerifierCode 换一换
格式:DOC , 页数:12 ,大小:19.06KB ,
资源ID:11767421      下载积分:10 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/11767421.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(c语言的艺术.doc)为本站上传会员【仙人****88】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

c语言的艺术.doc

1、C语言的科学与艺术    Welcome! By picking up this book, you have taken a step into the world of computer science--a field of study that has grown from almost nothing half a century ago to become one of the most vibrant and active disciplines of our time.    Over that time, the computer has opened up extra

2、ordinary possibilities in almost every area of human endeavor. Business leaders today are able to manage global enterprises on an unprecedented scale because computers enable them to transfer information anywhere in a fraction of a second. Scientists can now solve problems that were beyond their rea

3、ch until the computer made the necessary cal-culations possible. Filmmakers use computers to generate dramatic visual effects that are impossible to achieve without them. Doctors can determine much more accurately what is going on inside a patient because computers have enabled a massive transformat

4、ion in the practice of medicine.    Computers are a profoundly empowering technology. The advances we have seen up to now are small compared to what we will see in the next century. Computers will play a major role in shaping that century, just as they have the last 50 years.   Those of you who

5、are students today will soon inherit the responsibility of guiding that progress. As you do so, knowing how to use computers can only help.    Like most skills that are worth knowing, learning how computers work and how to control their enormous power takes time. You will not understand it all at

6、once.But you must start somewhere. Twenty-five centuries ago, the Chinese philosopher Lao-tzu observed that the longest journey begins with a single step. This book can be your beginning.    For many of you, however, the first step can be the hardest to take. Many students find computers overwhelm

7、ing and imagine that computer science is beyond their reach. Learning the basics of programming, however, does not require advanced mathematics or a detailed understanding of electronics. What matters in programming is whether you can progress from the statement of a problem to its solution. To do s

8、o, you must be able to think logically. You must have the neces-   sary discipline to express your logic in a form that the computer can understand.Perhaps most importantly, you must be able to see the task through to its completion without getting discouraged by difficulties and setbacks. If you

9、stick with the process, you will discover that reaching the solution is so exhilarating that it more than makes up for any frustrations you encounter along the way.    This book is designed to teach you the fundamentals of programming and the basics of C, which is the dominant programming language

10、 in the computing industry today. It treats the whys of programming as well as the hows, to give you a feel for the programming process as a whole. It also includes several features that will help you focus on the essential points and avoid errors that slow you down. The next few pages summarize the

11、se features and explain how to use this book effectively as you begin your journey into the exciting world of computer science. C语言教程前言 A Book on C conveys an appreciation for both the elegant simplicity and the power of this general-purpose programming language. By presenting interactive runni

12、ng programs from many application areas, this book describes the ANSI version of the C language. The complete language is presented in a step-by-step manner, along with many complete working programs.    Where appropriate, we discuss the differences between traditional C and ANSI C.(Traditional C

13、still remains in wide use.) Dozens of example programs are available to illustrate each important language feature, and many tables summarize key information and provide easy access for later reference. Each chapter ends with a summary and exercises. The summary reviews key elements presented in the

14、 chapter, and the exercises augment and extend the text.    This book assumes a general-purpose knowledge of the C language. It is intended for use in either a first or second programming course. However, it can be readily used in conjunction with courses on topics such as comparative programming

15、languages, computational linguistics, data structures, database systems, fractal geometry, graphics,numerical analysis, operating systems, programming methodology, and scientific applications. C is suitable for applications from each of these domains, and all features of Cneeded to code such applica

16、tions are explained. This book is appropriate for a data structures course because advanced data structuring features such as enumeration types, unions, self-referential structures, and ragged arrays are discussed. For operatlng systems courses concerned with UNIX or Windows 95/NT, the book explores

17、 the file   structure and systems routines that enable the C programmer to add to existing systerns libraries and understand the C code underlying the operating system. For applications programming and soentific programming, there is discussion of how to write sample function libraries. Statistics

18、 root finding, sorting, text manipulation, file handling, and game playing are all represented with working code.    New Java Section. In Chapter 14, "Moving from C to Java," we discuss how the C programmer can very naturally and easily begin programming in Java, a language of interest for work o

19、n the Internet. The Java programming language borrows ideas from both C and C++ and is designed to run in a machine-and system-independent manner. This makes it suitable for Internet work, such as writing applets for Web pages that get used by browsers. Because Java is an extension of C and C++, it

20、is readily learned by the C programmer.   Complete ANSI C Language. Computer professionals will have access to a complete treatment of the language, including enumeration types, list processing, and the operating system interface. Chapter 1, "An Overview of C," presents an overview of the language

21、 After reading this chapter, the professional will already be able to write C code.   Since the chapters are self-contained, the knowledgeable reader can skip to particular sections as needed. Chapter 11, "Input/Output and the Operating System," gives a thorough introduction to the connections to

22、 the operating system. This information will benefit the professional systems programmer needing to use C to work within an MSDOS or UNIX environment.   Interactive Environment. This book is written entirely with the modern interactive environment in mind. Experimentation is encouraged throughout.

23、 Keyboard and screen input/output is taken as the norm, and its attendant concerns are explained. Thus, the book is appropriate for users of small home and business computers as well as to users of large interactive systems. We assume that the reader will have access to an interac tive ANSI C system

24、 During the writing of this book, we used a number of different C systems: various Borland and Microsoft compilers running on IBM-compatible Pentium machines, the GNU gcc compiler and native compilers running on various workstations from DEC, SGI, and Sun, and the C compiler that runs on the Cray s

25、upercomputer in San Diego.   Working Code. Our approach to describing the language 'is to use examples, explanation, and syntax. Working code is employed throughout. Small but useful examples are provided to describe important technical points. Small because small is comprehensible. Useful because

26、 programming is based on a hierarchy of building blocks and ultimately is pragmatic. The programs and functions described in the book can be used in actual systems. The authors' philosophy is that one should experiment and enjoy.   Dissections. We use highlighted "dissections" on many programs and

27、 functions throughout the book. Dissection is a unique pedagogical tool first developed by the authors in 1984 to illuminate key features of working code. A dissection is similar to a structured walk-through of the code. Its intention is to explain to the reader newly encountered programming element

28、s and idioms found in working code.   Flexible Organization. This book is constructed to be very flexible in its use. Chapter 1,   "An Overview of C," is in two parts. The first part explains the crucial programming techniques needed for interactive input/output, material that must be understood

29、 by all. The second part of Chapter 1 goes on to survey the entire language and will be comprehensible to experienced programmers familiar with comparable features from other languages. This second part can be postponed in a first programming course. Caution:Beginning programmers should postpone the

30、 second part of Chapter 1.    Chapter 2, "Lexical Elements, Operators, and the C System," describes the lexical level   of the language and syntactic rules, which are selectively employed to illustrate C language constructs. The instructor may decide to teach Backus-Naur-Form (BNF) notation as d

31、escribed in Chapter 2 or may omit it without any loss of continuity. The book uses BNF-style syntactic descriptions so that the student can learn this standard form of programming language description. In addition, language components are thoroughly described by example and ordinary explanation.  

32、  Reference Work. This book is designed to be a valuable reference to the C language.Throughout the book, many tables concisely illustrate key areas of the language. The complete ANSI C standard library, along with its associated header files, is described in the Appendix A, "The Standard Library."

33、Sections in the appendix are devoted to explaining each of the standard header files such as ctype, h, stdio, h, and string, h. Where appropriate, example code is given to illustrate the use of a particular construct or function.    In Appendix B, "Language Syntax," we provide the complete syntax

34、of the C language.In Appendix C, "ANSI C Compared to Traditional C," we list the major differences between ANSI C and traditional C. Finally, special care has been taken to make the index easy to use and suitable for a reference work.   The Complete ANSI C Language. Chapters 3 through 10 cover the

35、 C language feature by feature. Many advanced topics are discussed that may be omitted on first reading without loss of comprehension, if so desired. For example, enumeration types are relatively new to the language, and their use can be omitted in a first course. Machine dependent features such as

36、word size considerations and floating-point representation are emphasized, but many of the details need not concern the beginner.   The Preprocessor. Chapter 8, "The Preprocessor," is devoted entirely to the preproeessor, which is used to extend the power and notation of the C language. Macros can

37、 be used to generate inline code that takes the place of a function call. Their use can reduce program execution time. The chapter presents a detailed discussion of the preprocessor, including new features added by the ANSI committee. In traditional C, the preprocessor varies considerably from one c

38、ompiler to another. In ANSI C, the functionality of the preprocessor has been completely specified.   Recursion and List Processing. Chapter 5, "Functions," has a careful discussion of recursion, which is often a mystifying topic for the beginner. The use of recursion is illustrated again in Chapt

39、er 8, "The Preprocessor," with the quicksort algorithm and in Chapter 10, "Structures and List Processing," with basic list processing techniques. A thorough knowledge of list processing techniques is necessary in advanced programming and data structure courses.   Operating System Connection. Chap

40、ter 11, "Input/Output and the Operating System,"makes the operating system connection. In this chapter, we explain how to do file processing and discuss at length the various input/output functions in the standard library. We also explain how to execute a system command from within a C program and h

41、ow to set file permissions and use of environment variables. We give explicit examples showing the use of the profiler, the librarian, and the make facility. .  Advanced Applications. We discuss a number of advanced applications in Chapter 12,"Advanced Applications." We present topics such as crea

42、ting concurrent processes,overlaying a process, interprocess communication, and signals, along with working code. Also, we discuss the dynamic allocation of vectors and matrices for engineers and scientists. These advanced topics can be used selectively according to the needs of the audience: They c

43、ould form the basis for an excellent second course in programming practice. This book can be used, too, as an auxihary text in advanced computer science courses that employ C as their implementation language.Tables, Summaries, and Exercises. Throughout the book are many tables and lists that succinc

44、tly summarize key ideas. These tables aid and test language comprehension. For example, C is very rich in operators and allows almost any useful combination of operator mix. It is essential to understand order of evaluation and association of each of these operators separately and in combination. Th

45、ese points are illustrated in tables throughout the text. As a reference tool, the tables and code are easily looked up.    The exercises test elementary features of the language and discuss advanced and system-dependent features. Many exercises are oriented to problem solving, others test the reader's syntactic or Semantic understanding of C. Some exercises include a tutorial discussion that is tangential to the text but may be of special interest to certain readers.The exercises offer the instructor all levels of question, so as to allow assignments suitable to the audience.

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服