12 رای
وضعیت موجودی موجود

قیمت قبلی: 3,520,000 ریال
قیمت: 3,120,000 ریال

 



Product details

  • Publisher ‏ : ‎ Pearson; 2nd edition (March 22, 1988)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 272 pages
  • ISBN-10 ‏ : ‎ 0131103628
  • ISBN-13 ‏ : ‎ 978-0131103627


 

کتاب C Programming Language, 2nd Edition

Just about every C programmer I respect learned C from this book. Unlike many of the 1,000 page doorstops stuffed with CD-ROMs that have become popular, this volume is concise and powerful (if somewhat dangerous) -- like C itself. And it was written by Kernighan himself. Need we say more?

From the Publisher

This second editon describes C as defined by the ANSI standard. This book is meant to help the reader learn how to program in C. The book assumes some familiarity with basic programming concepts like variables, assignment statements, loops, and functions. A novice programmer should be able to read along and pick up the language.

From the Inside Flap

Preface

The computing world has undergone a revolution since the publication of The C Programming Language in 1978. Big computers are much bigger, and personal computers have capabilities that rival the mainframes of a decade ago. During this time, C has changed too, although only modestly, and it has spread far beyond its origins as the language of the UNIX operating system.

The growing popularity of C, the changes in the language over the years, and the creation of compilers by groups not involved in its design, combined to demonstrate a need for a more precise and more contemporary definition of the language than the First edition of this book provided. In 1983, the American National Standards Institute (ANSI) established a committee whose goal was to produce "an unambiguous and machine-independent definition of the language C," while still retaining its spirit. The result is the ANSI standard for C.

The standard formalizes constructions that were hinted at but not described in the first edition, particularly structure assignment and enumerations. It provides a new form of function declaration that permits cross-checking of defini-tion with use. It specifies a standard library, with an extensive set of functions for performing input and output, memory management, string manipulation, and similar tasks. It makes precise the behavior of features that were not spelled out in the original definition, and at the same time states explicitly which aspects of the language remain machine-dependent.

This second edition of The C Programming Language describes C as defined by the ANSI standard. Although we have noted the places where the language has evolved, we have chosen to write exclusively in the new form. For the most part, this makes no significant difference; the most visible change is the new form of function declaration and definition. Modern compilers already support most features of the standard.

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.

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.

As we said in the preface to the first edition, C "wears well as one's experience with it grows." With a decade more experience, we still feel that way. We hope that this book will help you to learn C and to use it well.Brian W. Kernighan, Dennis M. RitchiePreface to the First Edition

C is a general-purpose programming language which features economy of expression, modern control flow and data structures, and a rich set of operators. C is not a "very high level" language, nor a "big" one, and is not specialized to any particular area of application. But its absence of restrictions and its generality make it more convenient and effective for many tasks than

supposedly more powerful languages.

C was originally designed for and implemented on the UNIX operating sys-tem on the DEC PDP-1 1, by Dennis Ritchie. The operating system, the C compiler, and essentially all UNIX applications programs (including all of the software used to prepare this book) are written in C. Production compilers also exist for several other machines, including the IBM System/370, the Honeywell 6000, and the Interdata 8/32. C is not tied to any particular hardware or system, however, and it is easy to write programs that will run without change on any machine that supports C.

This book is meant to help the reader learn how to program in C. It contains a tutorial introduction to get new users started as soon as possible, separate chapters on each major feature, and a reference manual. Most of the treatment is based on reading, writing and revising examples, rather than on mere statements of rules. For the most part, the examples are complete, real programs, rather than isolated fragments. All examples have been tested directly from the text, which is in machine-readable form. Besides showing how to make

effective use of the language, we have also tried where possible to illustrate useful

algorithms and principles of good style and sound design.

The book is not an introductory programming manual; it assumes some familiarity with basic programming concepts like variables, assignment statements, loops, and functions. Nonetheless, a novice programmer should be able to read along and pick up the language, although access to a more knowledgeable colleague will help.

In our experience, C has proven to be a pleasant, expressive, and versatile language for a wide variety of programs. It is easy to learn, and it wears well as one's experience with it grows. We hope that this book will help you to use it well.Brian W. Kernighan, Dennis M. Ritchie

About the Author

Brian W. Kernighan received his BASc from the University of Toronto in 1964 and a PhD in electrical engineering from Princeton in 1969. He was a member of the Computing Science Research center at Bell Labs until 2000, and is now a professor in the Computer Science Department at Princeton. He was a co-creator of several programming languages, including AWK, AMPL, and a number of tools for document preparation. He is the co-author of 10 books and some technical papers, and holds 4

patents. He was elected to the National Academy of Engineering in 2002. His research areas include programming languages, tools and interfaces that make computers easier to use, often for non-specialist users. He is also interested in technology

education for non-technical audiences.

 

Dennis Ritchie was a computer scientist notable for his influence on ALTRANBBCPLCMultics, and Unix.

 

منابع کتاب کتاب C Programming Language, 2nd Edition

تقریباً هر برنامه نویس C مورد احترام من C را از این کتاب آموخته است. برخلاف بسیاری از درب‌های 1000 صفحه‌ای مملو از CD-ROM که محبوب شده‌اند، این جلد مختصر و قدرتمند است (اگر تا حدودی خطرناک باشد) - مانند خود C. و توسط خود کرنیگان نوشته شده است. آیا باید بیشتر بگوییم؟

از ناشر

این ویرایش دوم C را همانطور که توسط استاندارد ANSI تعریف شده است، توصیف می کند. این کتاب به منظور کمک به خواننده در یادگیری نحوه برنامه نویسی در C است. این کتاب با مفاهیم اولیه برنامه نویسی مانند متغیرها، دستورات انتساب، حلقه ها و توابع آشنا است. یک برنامه نویس مبتدی باید قادر به خواندن و خواندن زبان باشد.

از فلپ داخلی

پیشگفتار

دنیای محاسبات از زمان انتشار زبان برنامه نویسی C در سال 1978 دستخوش یک انقلاب شده است. رایانه های بزرگ بسیار بزرگتر هستند و رایانه های شخصی دارای قابلیت هایی هستند که با مین فریم های یک دهه پیش رقابت می کنند. در طی این مدت، C نیز تغییر کرده است، اگرچه فقط اندکی، و بسیار فراتر از مبدا خود به عنوان زبان سیستم عامل یونیکس گسترش یافته است.

محبوبیت فزاینده C، تغییرات زبان در طول سال‌ها، و ایجاد کامپایلرها توسط گروه‌هایی که در طراحی آن نقشی ندارند، نیاز به تعریف دقیق‌تر و معاصرتری از این زبان را نسبت به نسخه اول این زبان نشان می‌دهد. کتاب ارائه شده است. در سال 1983، مؤسسه استانداردهای ملی آمریکا (ANSI) کمیته ای را ایجاد کرد که هدف آن ارائه "تعریفی بدون ابهام و مستقل از ماشین از زبان C" بود، در حالی که هنوز روح خود را حفظ کرده بود. نتیجه استاندارد ANSI برای C است.

این استاندارد ساختارهایی را که در نسخه اول اشاره شده بود اما توضیح داده نشده بودند، به ویژه تخصیص ساختار و شمارش ها رسمیت می دهد. شکل جدیدی از اعلان تابع را ارائه می دهد که امکان بررسی متقابل تعریف با استفاده را فراهم می کند. این یک کتابخانه استاندارد، با مجموعه گسترده ای از توابع برای انجام ورودی و خروجی، مدیریت حافظه، دستکاری رشته ها و کارهای مشابه را مشخص می کند. رفتار ویژگی هایی را که در تعریف اصلی بیان نشده اند، دقیق می کند و در عین حال به صراحت بیان می کند که کدام جنبه های زبان وابسته به ماشین باقی می مانند.

این ویرایش دوم زبان برنامه نویسی C C را همانطور که توسط استاندارد ANSI تعریف شده است، توصیف می کند. اگرچه ما مکان‌هایی را که زبان در آن تکامل یافته است را یادداشت کرده‌ایم، اما انتخاب کرده‌ایم که منحصراً به شکل جدید بنویسیم. در بیشتر موارد، این تفاوت قابل توجهی ایجاد نمی کند. قابل مشاهده ترین تغییر شکل جدید اعلان و تعریف تابع است. کامپایلرهای مدرن در حال حاضر از اکثر ویژگی های استاندارد پشتیبانی می کنند.

ما سعی کرده ایم مختصر نسخه اول را حفظ کنیم. C زبان بزرگی نیست و یک کتاب بزرگ آن را به خوبی ارائه نمی کند. ما نمایش ویژگی های حیاتی، مانند اشاره گرها را که در برنامه نویسی C مرکزی هستند، بهبود بخشیده ایم. ما نمونه های اصلی را اصلاح کرده ایم و نمونه های جدیدی را در چندین فصل اضافه کرده ایم. برای مثال، درمان اعلان‌های پیچیده توسط برنامه‌هایی تقویت می‌شود که اعلان‌ها را به کلمات تبدیل می‌کنند و بالعکس. مانند قبل، تمام مثال‌ها مستقیماً از متن تست شده‌اند که به صورت ماشینی قابل خواندن است.

پیوست A، کتابچه راهنمای مرجع، استاندارد نیست، بلکه تلاش ما برای انتقال ملزومات استاندارد در فضای کوچکتر است. این برای درک آسان توسط برنامه نویسان است، اما نه به عنوان یک تعریف برای نویسندگان کامپایلر - این نقش به درستی به خود استاندارد تعلق دارد. پیوست ب خلاصه ای از امکانات کتابخانه استاندارد است. همچنین برای ارجاع توسط برنامه نویسان در نظر گرفته شده است، نه پیاده کننده ها. پیوست C خلاصه ای مختصر از تغییرات نسخه اصلی است.

همانطور که در مقدمه چاپ اول گفتیم، C "به خوبی می پوشد و تجربه فرد با آن رشد می کند." با یک دهه تجربه بیشتر، هنوز هم چنین احساسی داریم. ما امیدواریم که این کتاب به شما کمک کند تا زبان C را یاد بگیرید و از آن به خوبی استفاده کنید.

C یک زبان برنامه نویسی همه منظوره است که دارای اقتصاد بیان، جریان کنترل مدرن و ساختارهای داده، و مجموعه ای غنی از اپراتورها است. زبان C نه یک زبان "سطح بسیار بالا" و نه یک زبان "بزرگ" است و در هیچ زمینه خاصی از کاربرد تخصصی نیست. اما فقدان محدودیت و عمومیت آن، آن را برای بسیاری از کارها راحت تر و موثرتر از آن می کند

زبان های ظاهرا قوی تر

C ابتدا برای سیستم عامل یونیکس در DEC PDP-1 1 توسط دنیس ریچی طراحی و اجرا شد. سیستم عامل، کامپایلر C و اساساً تمام برنامه های کاربردی یونیکس (شامل همه نرم افزارهای مورد استفاده برای تهیه این کتاب) به زبان C نوشته شده اند. کامپایلرهای تولیدی برای چندین ماشین دیگر از جمله IBM System/370، Honeywell 6000 نیز وجود دارند. و Interdata 8/32. با این حال، C به هیچ سخت افزار یا سیستم خاصی وابسته نیست، و نوشتن برنامه هایی که بدون تغییر در هر دستگاهی که از C پشتیبانی می کند، آسان است.

این کتاب برای کمک به خواننده در یادگیری نحوه برنامه نویسی به زبان C است. این کتاب شامل یک مقدمه آموزشی برای شروع هرچه سریعتر کاربران جدید، فصل های جداگانه در مورد هر ویژگی اصلی و یک کتابچه راهنمای مرجع است. بیشتر درمان بر اساس خواندن، نوشتن و بازنگری مثال‌ها است، نه بر اساس بیانیه‌های صرف. در بیشتر موارد، نمونه‌ها برنامه‌های کامل و واقعی هستند و نه قطعات مجزا. همه نمونه‌ها مستقیماً از متن تست شده‌اند که به صورت ماشینی قابل خواندن است. علاوه بر نشان دادن نحوه ساخت

استفاده موثر از زبان، ما همچنین سعی کرده ایم تا جایی که ممکن است مفید نشان دهیم

الگوریتم ها و اصول طراحی خوب سبک و صدا.

این کتاب یک راهنمای برنامه نویسی مقدماتی نیست. آشنایی با مفاهیم اولیه برنامه نویسی مانند متغیرها، عبارات انتساب، حلقه ها و توابع را فرض می کند. با این وجود، یک برنامه نویس تازه کار باید بتواند زبان را بخواند و یاد بگیرد، اگرچه دسترسی به یک همکار آگاه تر کمک خواهد کرد.

در تجربه ما، C ثابت کرده است که زبانی دلپذیر، گویا و همه کاره برای برنامه های متنوع است. یادگیری آن آسان است و با افزایش تجربه فرد به خوبی می پوشد. ما امیدواریم که این کتاب به شما کمک کند تا از آن به خوبی استفاده کنید. برایان دبلیو کرنیگان، دنیس ام. ریچی

درباره نویسنده

برایان دبلیو کرنیگان  BASc خود را از دانشگاه تورنتو در سال 1964 و دکترای مهندسی برق از پرینستون در سال 1969 دریافت کرد. او تا سال 2000 عضو مرکز تحقیقات علوم محاسباتی در آزمایشگاه‌های بل بود و اکنون استاد علوم کامپیوتر است. دپارتمان در پرینستون او یکی از خالقان چندین زبان برنامه نویسی از جمله AWK، AMPL و تعدادی ابزار برای تهیه اسناد بود. وی دارای 10 عنوان کتاب و چند مقاله فنی و دارای 4 عنوان است

ثبت اختراعات او در سال 2002 به عضویت آکادمی ملی مهندسی انتخاب شد. زمینه‌های تحقیقاتی او شامل زبان‌های برنامه‌نویسی، ابزارها و رابط‌هایی است که استفاده از رایانه‌ها را اغلب برای کاربران غیرمتخصص آسان‌تر می‌کنند. او به فناوری نیز علاقه دارد

آموزش برای مخاطبان غیر فنی

 

دنیس ریچی دانشمند کامپیوتری بود که به خاطر تأثیرش بر ALTRAN ، B ، BCPL ، C ، Multics و Unix مشهور بود .

 

نظرات کاربران درباره کتاب C Programming Language, 2nd Edition

نظری در مورد این محصول توسط کاربران ارسال نگردیده است.
اولین نفری باشید که در مورد کتاب C Programming Language, 2nd Edition نظر می دهد.

ارسال نظر درباره کتاب C Programming Language, 2nd Edition

لطفا توجه داشته باشید که ایمیل شما منتشر نخواهد شد.

بر اساس سلیقه شما...

Product details ASIN ‏ : ‎  B08H53RPV2 Publ ...
1,230,000 ریال
Product details Publisher ‏ : ‎  Manning; 1st edition (Ja ...
4,240,000 ریال

codebazan

طراحی و اجرا: فروشگاه ساز سبدخرید