دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: [6 ed.]
نویسندگان: German Gonzalez-Morris. Ivor Horton
سری:
ISBN (شابک) : 9781484259757, 9781484259764
ناشر: Apress
سال نشر: 2020
تعداد صفحات: 674
[690]
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 8 Mb
در صورت تبدیل فایل کتاب Beginning C - From Beginner to Pro. به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب شروع C - از مبتدی تا حرفه ای. نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
یاد بگیرید که چگونه با استفاده از C برنامه نویسی کنید، از اصول اولیه شروع کنید و با مثال های گام به گام پیشرفت کنید تا به یک برنامه نویس ماهر و زبان C تبدیل شوید. تنها چیزی که نیاز دارید این کتاب و هر یک از کامپایلرهای C است که به طور گسترده در دسترس است، و به زودی برنامه های C واقعی می نویسید. متوجه خواهید شد که C یک زبان پایه است که هر برنامه نویسی باید بداند. Beginning C توسط نویسنده مشهور ایور هورتون و برنامه نویس متخصص آلمانی گونزالس موریس نوشته شده است. این کتاب مهارت برنامهنویسی شما را با راهنمایی شما از طریق توسعه برنامههای کاربردی C که از آموختههای شما در زمینه عملی استفاده میکنند، افزایش میدهد. همچنین میتوانید با امتحان کردن تمرینهای موجود در پایان هر فصل، به تنهایی به نتیجه برسید. در پایان کتاب به مهارتهای خود در تمام جنبههای زبان پرکاربرد و قدرتمند C اطمینان خواهید داشت. ------ آنچه شما یاد خواهید گرفت ------------------- * زبان برنامه نویسی C را کشف کنید * با استفاده از C برنامهریزی کنید و از مراحل اول شروع کنید، سپس تصمیم بگیرید * از حلقه ها، آرایه ها، رشته ها، متن، اشاره گرها، توابع، ورودی/خروجی و موارد دیگر استفاده کنید * برنامه های کد با رشته ها و متن * برنامه های خود را به طور کارآمد ساختار دهید * با داده ها، فایل ها، امکانات و موارد دیگر کار کنید ---- این کتاب برای چه کسی است -------------------- کسانی که در برنامه نویسی C تازه وارد هستند و ممکن است تجربه قبلی برنامه نویسی داشته باشند یا نداشته باشند. ---- --> Apress; چاپ ششم (12 ژانویه 2021). --> نسخه نهایی / پی دی اف واقعی.
Learn how to program using C, beginning from first principles and progressing through step-by-step examples to become a competent, C-language programmer. All you need are this book and any of the widely available C compilers, and you'll soon be writing real C programs. You’ll discover that C is a foundation language that every programmer ought to know. Beginning C is written by renowned author Ivor Horton and expert programmer German Gonzalez-Morris. This book increases your programming expertise by guiding you through the development of fully working C applications that use what you've learned in a practical context. You’ll also be able to strike out on your own by trying the exercises included at the end of each chapter. At the end of the book you'll be confident in your skills with all facets of the widely-used and powerful C language. ------ What You Will Learn ------------------- * Discover the C programming language * Program using C starting with first steps, then making decisions * Use loops, arrays, strings, text, pointers, functions, I/O, and more * Code applications with strings and text * Structure your programs efficiently * Work with data, files, facilities, and more ---- Who This Book Is For -------------------- Those new to C programming who may or may not have some prior programming experience. ---- --> Apress; 6th edition (January 12, 2021). --> final release / true pdf.
Table of Contents About the Authors About the Technical Reviewer Acknowledgments Introduction Chapter 1: Programming in C The C Language The Standard Library Learning C Creating C Programs Editing Compiling Linking Executing Creating Your First Program Editing Your First Program Dealing with Errors Dissecting a Simple Program Comments Preprocessing Directives Defining the main() Function Keywords The Body of a Function Outputting Information Function Arguments Control Characters Trigraph Sequences The Preprocessor Developing Programs in C Understanding the Problem Detailed Design Implementation Testing Functions and Modular Programming Common Mistakes Points to Remember Summary Chapter 2: First Steps in Programming Memory in Your Computer What Is a Variable? Naming Variables Variables That Store Integers Using Variables Initializing Variables Basic Arithmetic Operations More on Division with Integers Unary Operators Unary Minus Operator Variables and Memory Signed Integer Types Unsigned Integer Types Specifying Integer Constants Hexadecimal Constants Octal Constants Default Integer Constant Types Working with Floating-Point Numbers Floating-Point Number Representation Floating-Point Variables Division Using Floating-Point Values Controlling the Number of Decimal Places in the Output Controlling the Output Field Width More Complicated Expressions Defining Named Constants Knowing Your Limitations Introducing the sizeof Operator Choosing the Correct Type for the Job Explicit Type Conversion Automatic Conversions Rules for Implicit Conversions Implicit Conversions in Assignment Statements More Numeric Data Types Character Type Character Input and Character Output Enumerations Choosing Enumerator Values Unnamed Enumeration Types Variables That Store Boolean Values The op= Form of Assignment Mathematical Functions Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Summary Chapter 3: Making Decisions The Decision-Making Process Arithmetic Comparisons The Basic if Statement Extending the if statement: if-else Using Blocks of Code in if Statements Nested if Statements Testing Characters Logical Operators The AND Operator && The OR Operator || The NOT Operator ! The Conditional Operator Operator Precedence: Who Goes First? Multiple-Choice Questions Using else-if Statements for Multiple Choices The switch Statement The goto Statement Bitwise Operators The op= Use of Bitwise Operators Using Bitwise Operators Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Steps 3 and 4 Summary Chapter 4: Loops How Loops Work Introducing the Increment and Decrement Operators The for Loop General Form of the for Loop More on the Increment and Decrement Operators The Increment Operator The Prefix and Postfix Forms of the Increment Operator The Decrement Operator The for Loop Revisited Modifying the for Loop Control Variable A for Loop with No Parameters The break Statement in a Loop Limiting Input Using a for Loop Generating Pseudo-random Integers More for Loop Control Options Floating-Point Loop Control Variables Chars loop Control Variables The while Loop Nested Loops Nested Loops and the goto Statement The do-while Loop The continue Statement Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Step 4 Step 5 Summary Chapter 5: Arrays An Introduction to Arrays Programming Without Arrays What Is an Array? Using an Array The Address of Operator Arrays and Addresses Initializing an Array Finding the Size of an Array Multidimensional Arrays Initializing Multidimensional Arrays Constant Arrays Variable-Length Arrays Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Step 4 Summary Chapter 6: Applications with Strings and Text What Is a String? Variables That Store Strings Arrays of Strings Operations with Strings Checking for C11/C17 Support Finding the Length of a String Copying Strings Concatenating Strings Comparing Strings Searching a String The Idea of a Pointer Searching a String for a Character Searching a String for a Substring Tokenizing a String Reading Newline Characters into a String Analyzing and Transforming Strings Converting Character Case Converting Strings to Numerical Values Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Summary Chapter 7: Pointers A First Look at Pointers Declaring Pointers Accessing a Value Through a Pointer Using Pointers Testing for a NULL Pointer Pointers to Constants Constant Pointers Naming Pointers Arrays and Pointers Multidimensional Arrays Multidimensional Arrays and Pointers Accessing Array Elements Using Memory As You Go Dynamic Memory Allocation: The malloc() Function Releasing Dynamically Allocated Memory Memory Allocation with the calloc() Function Extending Dynamically Allocated Memory Handling Strings Using Pointers Using Arrays of Pointers Pointers and Array Notation Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 The Complete Program Summary Chapter 8: Structuring Your Programs Program Structure Variable Scope and Lifetime Variable Scope and Functions Functions Defining a Function Naming a Function Function Parameters Specifying the Return Value Type The return Statement The Pass-by-Value Mechanism Function Prototypes Pointers As Parameters and Return Types const Parameters Perils of Returning Pointers Summary Chapter 9: More on Functions Pointers to Functions Declaring a Pointer to a Function Calling a Function Through a Function Pointer Arrays of Pointers to Functions Pointers to Functions As Arguments Variables in Functions Static Variables: Keeping Track Within a Function Sharing Variables Between Functions Functions That Call Themselves: Recursion Functions with a Variable Number of Arguments Copying a va_list Basic Rules for Variable-Length Argument Lists The main() Function Terminating a Program The abort() Function The exit() and atexit() Functions The _Exit() Function The quick_exit() and at_quick_exit() Functions Enhancing Performance Declaring Functions Inline Using the restrict Keyword The _Noreturn Function Specifier Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Step 4 Summary Chapter 10: Essential Input and Output Input and Output Streams Standard Streams Input from the Keyboard Formatted Keyboard Input Input Format Control Strings Characters in the Input Format String Variations on Floating-Point Input Reading Hexadecimal and Octal Values Reading Characters Using scanf_s() String Input from the Keyboard Single-Character Keyboard Input Output to the Screen Formatted Output Using printf_s() Escape Sequences Integer Output Outputting Floating-Point Values Character Output Other Output Functions Unformatted Output to the Screen Formatted Output to an Array Formatted Input from an Array Summary Chapter 11: Structuring Data Data Structures: Using struct Defining Structure Types and Structure Variables Accessing Structure Members Unnamed Structures Arrays of Structures Structure Members in Expressions Pointers to Structures Dynamic Memory Allocation for Structures More on Structure Members Structures As Members of a Structure Declaring a Structure Within a Structure Pointers to Structures As Structure Members Doubly Linked Lists Bit Fields in a Structure Structures and Functions Structures As Arguments to Functions Pointers to Structures As Function Arguments Structure As a Function Return Value Binary Trees Ordering Data in a Binary Tree Constructing a Binary Tree Traversing a Binary Tree Sharing Memory Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Step 4 Summary Chapter 12: Working with Files The Concept of a File Positions in a File File Streams Accessing Files Opening a File Write Mode Append Mode Read Mode Buffering File Operations Renaming a File Closing a File Deleting a File Writing a Text File Reading a Text File Reading and Writing Strings to a Text File Formatted File Input and Output Formatted Output to a File Formatted Input from a File Dealing with Errors More Open Modes for Text Files The freopen_s() Function Binary File Input and Output Opening a File in Binary Mode Writing a Binary File Reading a Binary File Moving Around in a File File Positioning Operations Finding Out Where You Are Setting a Position in a File Using Temporary Work Files Creating a Temporary Work File Creating a Unique File Name Updating Binary Files Changing the Contents of a File Creating a Record from Keyboard Input Writing a Record to a File Reading a Record from a File Writing a File Listing the File Contents Updating the Existing File Contents File Open Modes Summary Designing a Program The Problem The Analysis The Solution Step 1 Step 2 Step 3 Summary Chapter 13: The Preprocessor and Debugging Preprocessing Including Header Files Defining Your Own Header Files Managing Multiple Source Files External Variables Static Functions Substitutions in Your Program Source Code Macros Macros That Look Like Functions Strings As Macro Arguments Joining Two Arguments in a Macro Expansion Preprocessor Directives on Multiple Lines Logical Preprocessor Directives Conditional Compilation Testing for Multiple Conditions Undefining Identifiers Testing for Specific Values for Identifiers Multiple-Choice Selections Standard Preprocessing Macros _Generic Macro Debugging Methods Integrated Debuggers The Preprocessor in Debugging Assertions Runtime Assertions Switching Off Assertions Compile-Time Assertions Date and Time Functions Getting Time Values Getting the Date Getting the Day for a Date Summary Chapter 14: Advanced and Specialized Topics Working with International Character Sets Understanding Unicode Setting the Locale The Wide Character Type wchar_t Storing Wide Characters Operations on Wide Characters Working with Wide Character Strings Operations on Wide Character Strings File Stream Operations with Wide Characters Fixed Size Types That Store Unicode Characters Specialized Integer Types for Portability Fixed-Width Integer Types Minimum-Width Integer Types Maximum-Width Integer Types The Complex Number Types Complex Number Basics Complex Types and Operations Programming with Threads Creating a Thread Exiting a Thread Joining One Thread to Another Suspending a Thread Managing Thread Access to Data Creating a Mutex Acquiring a Mutex Releasing a Mutex Summary Appendix A: Computer Arithmetic Binary Numbers Hexadecimal Numbers Negative Binary Numbers Big-Endian and Little-Endian Systems Floating-Point Numbers Appendix B: ASCII Character Code Definitions Appendix C: Reserved Words in C Appendix D: Input and Output Format Specifications Output Format Specifications Input Format Specifications Appendix E: Standard Library Header Files Index