C by Dissection: The Essentials of C Programming

C by Dissection: The Essentials of C Programming

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

C by Dissection presents a thorough introduction to the programming process by carefully developing working programs to illuminate key features of the C programming language. This book presents the concepts of the programming process using the "dissection" method. Dissection is a unique pedagogical tool first developed by the authors to point out key features of program code. It is similar to a structured walk-through of the code, with the intention of explaining newly encountered programming elements and idioms as found in working code. The book assumes no programming background and can be used by first time computer users or by experienced programmers who are transitioning to C. Each chapter presents a number of carefully explained programs, which lead the reader in a holistic manner to ever-improving programming skills. Right from the start, the reader is introduced to complete programs, and at an early point in the book, the reader is introduced to writing functions as a major feature of structured programming. This edition takes into account the fact that many people are learning Java as a first language and then going to C, or vice-versa. It calls out those topics that present a challenge when transitioning from Java and C (e.g. i/o, data types). Exercises have been added to these chapters that engage the reader to compare the differences between the languages.

Table of Contents:
1. Writing an ANSI C Program. Getting Ready to Program. A First Program. Variables, Expressions, and Assignments. Initialization. The Use of #define and #include. The Use of printf() and scanf(). The Use of printf(). The Use of scanf(). The while Statement. Problem Solving: Computing Sums. Style. Common Programming Errors. System Considerations. Writing and Running a C Program. Interrupting a Program. Typing an End-of-File Signal. Redirection of the Input and the Output. Moving to C++. Summary. Exercises. 2. Lexical Elements, Operators, and the C System. Characters and Lexical Elements. Comments. Keywords. Identifiers. Constants. String Constants. Operators and Punctuators. Precedence and Associativity of Operators. Increment and Decrement Operators. Assignment Operators. An Example: Computing Powers of 2. The C System. The Preprocessor. The Standard Library. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 3. Flow of Control. Relational, Equality, and Logical Operators. Relational Operators and Expressions. Equality Operators and Expressions. Logical Operators and Expressions. Short-Circuit Evaluation. The Compound Statement. The Empty Statement. The if and if-else Statements. The while Statement. Problem Solving: Finding Maximum Values. The for Statement. Problem Solving: Combinatorics. Problem Solving: Boolean Variables. The Comma Operator. The do Statement. The goto Statement. The break and continue Statements. The switch Statement. Nested Flow of Control. The Conditional Operator. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 4. Functions and Structured Programming. Function Invocation. Function Definition. The return Statement. Function Prototypes. Top-Down Design. Program Correctness: The assert() Macro. Function Declarations from the Compiler's Viewpoint. Limitations. Problem Solving: Random Numbers. An Alternate Style for Function Definition Order. Developing a Large Program. What Constitutes a Large Program? A Simulation: The Game of Heads or Tails. Invocation and Call-by-Value. Recursion. Style. Common Programming Errors. System Considerations. Moving to C++. Function Prototypes in C++. Summary. Exercises. 5. Character Processing. The Data Type char. The Use of getchar() and putchar(). An Example: Capitalize. The Macros in ctype.h. Problem Solving: Repeating Characters. Problem Solving: Counting Words. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 6. The Fundamental Data Types. Declarations and Expressions. The Fundamental Data Types. Characters and the Data Type char. The Data Type int. The Integral Types short, long, and unsigned. The Floating Types. The sizeof Operator. Mathematical Functions. Conversions and Casts. The Integral Promotions. The Usual Arithmetic Conversions. Casts. Problem Solving: Computing Interest. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 7. Enumeration Types and typedef. Enumeration Types. The Use of typedef. An Example: The Game of Paper, Rock, Scissors. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 8. Functions, Pointers, and Storage Classes. Pointer Declaration and Assignment. Addressing and Dereferencing. Pointers to void. Call-by-Reference. Scope Rules. Storage Classes. The Storage Class auto. The Storage Class extern. The Storage Class register. The Storage Class static. Static External Variables. Default Initialization. An Example: Processing Characters. Function Declarations and Definitions. The Type Qualifiers const and volatile. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 9. Arrays and Pointers. One-Dimensional Arrays. Initialization. Subscripting. An Example: Counting Each Letter Separately. The Relationship Between Arrays and Pointers. Pointer Arithmetic and Element Size. Passing Arrays to Functions. A Sorting Algorithm: Bubble Sort. Two-Dimensional Arrays. Multidimensional Arrays. Dynamic Memory Allocation. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 10. Strings and Pointers. The End-of-String Sentinel \0. Initialization of Strings. An Example: Have a Nice Day. Using Pointers to Process a String. Problem Solving: Counting Words. Passing Arguments to main(). String Handling Functions in the Standard Library. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 11. Recursion. Recursive Problem Solving. An Example: Drawing Patterns on the Screen. String Handling Using Recursion. The Divide-and-Conquer Methodology. Style. Common Programming Errors. System Considerations. Moving to C++. Summary. Exercises. 12. Structures and ADTs. Declaring Structures. Accessing a Member. Operator Precedence and Associativity: A Final Look. Structures, Functions, and Assignment. Problem Solving: Student Records. Initialization of Structures. The Use of typedef. Self-Referential Structures. Linear Linked Lists. Dynamic Storage Allocation. List Operations. Counting and Lookup. Insertion and Deletion. Style. Common Programming Errors. System Considerations. Moving to C++. Classes. Summary. Exercises. 13. Input/Output and Files. The Output Function printf(). The Input Function scanf(). Directives in the Control String. Ordinary Characters. White Space Characters. Conversion Specifications. Floating Numbers in the Input Stream. Using the Scan Set. The Return Value. A scanf() Example. The functions sprintf() and sscanf(). The functions fprintf() and fscanf(). Accessing Files. An Example: Double-Spacing a File. Using Temporary Files and Graceful Functions. Accessing a File Randomly. Style. Common Programming Errors. The Function sscanf() Is Different. System Considerations. Moving to C++. Summary. Exercises. 14. Software Tools. Executing Commands From Within a C Program. Environment Variables. The C Compiler. Creating a Library. Using the Profiler. How to Time C Code. The Use of dbx. The Use of make. The Use of touch. Other Useful Tools. Style. Common Programming Errors. System Considerations. Summary. Exercises. 15. From C to C++. Object-Oriented Programming. Why Switch to C++? Classes and Abstract Data Types. Overloading. Constructors and Destructors. Inheritance. Polymorphism. Templates. C++ Exceptions. Benefits Of Object-Oriented Programming. Style. Common Programming Errors. System Considerations. Summary. Exercises. 15. From C To C++. Output. Input. Classes and Abstract Data Types. Overloading. Constructors and Destructors. Object-oriented Programming and Inheritance. Style. Common Programming Errors. System Considerations. Summary. Exercises. Appendix A: The Standard Library. A.1. Diagnostics: assert.h. A.2. Character Handling: ype.h. Testing a Character. Mapping a Character. A.3. Errors: <>. A.4. Floating Limits: <> A.5. Integral Limits: <>. A.6. Localization: <>. A.7. Mathematics: <>. A.8. Nonlocal Jumps: <>. A.9. Signal Handling: <>. A.10. Variable Arguments: <>. A.11. Common Definition: <>. A.12. Input/Output: <>. Opening, Closing, and Conditioning a File. Accessing the File Position Indicator. Error Handling. Character Input/Output. Formatted Input/Output. Direct Input/Output. Removing or Renaming a File. A.13. General Utilities: <>. Dynamic Allocation of Memory. Searching and Sorting. Pseudo Random Number Generator. Communicating With the Environment. Integer Arithmetic. String Conversion. Multibyte Character Functions. Multibyte String Functions. Leaving the Program. A.14. Memory and String Handling: <>. Memory Handling Functions. String Handling Functions. A.15. Date and Time: <>. Accessing the Clock. Accessing the Time. A.16. Miscellaneous. Using File Descriptors. Creating a Concurrent Process. Overlaying a Process. Interprocess Communication. Suspending Program Execution. Appendix B: The Preprocessor. B.1. The Use of #include. B.2. The Use of #define. Syntactic Sugar. B.3. Macros With Arguments. B.4. The Use of #undef. B.5. Conditional Compilation. B.6. Predefined Macros. B.7. The Operators # and ##. B.8. The assert() Macro. B.9. The Use of #error and #pragma. B.10. Line Numbers. B.11. Corresponding Functions. Appendix C: Bitwise Operators. C.1. Bitwise Operators and Expressions. Bitwise Complement. Two's Complement. Bitwise Binary Logical Operators. Left- and Right-Shift Operators. C.2. Masks. C.3. Printing an int Bitwise. C.4. Packing and Unpacking. C.5. Common Programming Errors. C.6. System Considerations. Summary. Exercises. Appendix D: ANSI C Compared To Traditional C. D.1. Types. D.2. Constants. D.3. Declarations. D.4. Initializations. D.5. Expressions. D.6. Functions. D.7. Conversions. D.8. Array Pointers. D.9. Structures and Unions. D.10. Preprocessor. D.11. Header Files. D.12. Miscellaneous. Appendix E: ASCII Character Codes. Appendix F: Operator Precedence and Associativity.


Best Sellers


Product Details
  • ISBN-13: 9780201713749
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Pearson
  • Depth: 25
  • Height: 100 mm
  • No of Pages: 672
  • Series Title: English
  • Sub Title: The Essentials of C Programming
  • Width: 100 mm
  • ISBN-10: 0201713748
  • Publisher Date: 04 Jan 2001
  • Binding: Paperback
  • Edition: US ed of 4 revised ed
  • Language: English
  • Returnable: N
  • Spine Width: 100 mm
  • Weight: 100 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
C by Dissection: The Essentials of C Programming
Pearson Education (US) -
C by Dissection: The Essentials of C Programming
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

C by Dissection: The Essentials of C Programming

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA