Let us C (Record no. 2834)
[ view plain ]
000 -LEADER | |
---|---|
fixed length control field | 08273nam a2200181Ia 4500 |
003 - CONTROL NUMBER IDENTIFIER | |
control field | OSt |
005 - DATE AND TIME OF LATEST TRANSACTION | |
control field | 20191109020004.0 |
008 - FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION | |
fixed length control field | 140801s2012 xx 000 0 und d |
020 ## - INTERNATIONAL STANDARD BOOK NUMBER | |
International Standard Book Number | 9789387284494 |
100 ## - MAIN ENTRY--PERSONAL NAME | |
Personal name | Kanetkar, Yashavant P |
245 ## - TITLE STATEMENT | |
Title | Let us C |
260 ## - PUBLICATION, DISTRIBUTION, ETC. (IMPRINT) | |
Name of publisher, distributor, etc | BPB Pub |
Date of publication, distribution, etc | 2012 |
500 ## - GENERAL NOTE | |
General note | Getting Started 1<br/>What is C 2<br/>Getting Started with C 4<br/>The C Character Set 5<br/>Constants, Variables and Keywords 6<br/>Types of C Constants 7<br/>Rules for Constructing Integer Constants 8<br/>Rules for Constructing Real Constants 9<br/>Rules for Constructing Character Constants 10<br/>Types of C Variables 11<br/>Rules for Constructing Variable Names 11<br/>C Keywords 12<br/>The First C Program 13<br/>Compilation and Execution 19<br/>Receiving Input 21<br/>C Instructions 23<br/>Type Declaration Instruction 24<br/>Arithmetic Instruction 25<br/>Integer and Float Conversions 29<br/>Type Conversion in Assignments 29<br/>Hierarchy of Operations 31<br/>Associativity of Operators 34<br/>Control Instructions in C 37<br/>Summary 37<br/>Exercise 38<br/>The Decision Control Structure 49<br/>Decisions! Decisions! 50<br/>The if Statement 51<br/>The Real Thing 55<br/>Multiple Statements within if 56<br/>The if-else Statement 58<br/><br/>viii<br/><br/>Nested if-elses 61<br/>Forms of if 62<br/>Use of Logical Operators 64<br/>The else if Clause 66<br/>The ! Operator 72<br/>Hierarchy of Operators Revisited 73<br/>A Word of Caution 73<br/>The Conditional Operators 76<br/>Summary 77<br/>Exercise 78<br/>3.<br/><br/>4.<br/>The Loop Control Structure 97<br/>Loops 98<br/>The while Loop 99<br/>Tips and Traps 101<br/>More Operators 105<br/>The for Loop 107<br/>Nesting of Loops 114<br/>Multiple Initialisations in the for Loop 115<br/>The Odd Loop 116<br/>The break Statement 118<br/>The continue Statement 120<br/>The do-while Loop 121<br/>Summary 124<br/>Exercise 124<br/>The Case Control Structure 135<br/>Decisions Using switch 136<br/>The Tips and Traps 140<br/>switch Versus if-else Ladder 144<br/>The goto Keyword 145<br/>Summary 148<br/>Exercise 149<br/><br/>ix<br/><br/>5.<br/><br/>6.<br/>Functions & Pointers 157<br/>What is a Function 158<br/>Why Use Functions 165<br/>Passing Values between Functions 166<br/>Scope Rule of Functions 171<br/>Calling Convention 172<br/>One Dicey Issue 173<br/>Advanced Features of Functions 174<br/>Function Declaration and Prototypes 175<br/>Call by Value and Call by Reference 178<br/>An Introduction to Pointers 178<br/>Pointer Notation 179<br/>Back to Function Calls 186<br/>Conclusions 189<br/>Recursion 189<br/>Recursion and Stack 194<br/>Adding Functions to the Library 197<br/>Summary 201<br/>Exercise 201<br/>Data Types Revisited 213<br/>Integers, long and short 214<br/>Integers, signed and unsigned 216<br/>Chars, signed and unsigned 217<br/>Floats and Doubles 219<br/>A Few More Issues... 221<br/>Storage Classes in C 223<br/>Automatic Storage Class 224<br/>Register Storage Class 226<br/>Static Storage Class 227<br/>External Storage Class 230<br/>Which to Use When 233<br/>Summary 234<br/>Exercise 235<br/><br/>x<br/><br/>The C Preprocessor 241<br/>Features of C Preprocessor 242<br/>Macro Expansion 244<br/>Macros with Arguments 248<br/>Macros versus Functions 252<br/>File Inclusion 253<br/>Conditional Compilation 255<br/>#if and #elif Directives 258<br/>Miscellaneous Directives 260<br/>#undef Directive 260<br/>#pragma Directive 261<br/>Summary 263<br/>Exercise 264<br/>7.<br/><br/>8. Arrays 269<br/>What are Arrays 270<br/>A Simple Program Using Array 272<br/>More on Arrays 275<br/>Array Initialization 275<br/>Bounds Checking 276<br/>Passing Array Elements to a Function 277<br/>Pointers and Arrays 279<br/>Passing an Entire Array to a Function 286<br/>The Real Thing 287<br/>Two Dimensional Arrays 289<br/>Initializing a 2-Dimensional Array 290<br/>Memory Map of a 2-Dimensional Array 291<br/>Pointers and 2-Dimensional Arrays 292<br/>Pointer to an Array 295<br/>Passing 2-D array to a Function 297<br/>Array of Pointers 300<br/>Three Dimensional Array 302<br/>Summary 304<br/><br/>xi<br/><br/>Exercise 304<br/>Puppetting On Strings 327<br/>What are Strings 328<br/>More about Strings 329<br/>Pointers and Strings 334<br/>Standard Library String Functions 335<br/>strlen( ) 337<br/>strcpy( ) 339<br/>strcat( ) 342<br/>strcmp( ) 343<br/>Two-Dimensional Array of Characters 344<br/>Array of Pointers to Strings 347<br/>Limitation of Array of Pointers to Strings 351<br/>Solution 352<br/>Summary 353<br/>Exercise 354<br/>9.<br/><br/>10.<br/><br/>11.<br/>Structures 363<br/>Why Use Structures 364<br/>Declaring a Structure 367<br/>Accessing Structure Elements 370<br/>How Structure Elements are Stored 370<br/>Array of Structures 371<br/>Additional Features of Structures 374<br/>Uses of Structures 383<br/>Summary 384<br/>Exercise 384<br/>Console Input/Output 393<br/>Types of I/O 394<br/>Console I/O Functions 395<br/>Formatted Console I/O Functions 396<br/><br/>xii<br/><br/>sprintf( ) and sscanf( ) Functions 404<br/>Unformatted Console I/O Functions 405<br/>Summary 409<br/>Exercise 409<br/>File Input/Output 415<br/>Data Organization 416<br/>File Operations 417<br/>Opening a File 418<br/>Reading from a File 420<br/>Trouble in Opening a File 421<br/>Closing the File 422<br/>Counting Characters, Tabs, Spaces, ... 422<br/>A File-copy Program 424<br/>Writing to a File 425<br/>File Opening Modes 426<br/>String (line) I/O in Files 427<br/>The Awkward Newline 430<br/>Record I/O in Files 430<br/>Text Files and Binary Files 434<br/>Record I/O Revisited 437<br/>Database Management 441<br/>Low Level Disk I/O 447<br/>A Low Level File-copy Program 448<br/>I/O Under Windows 453<br/>Summary 453<br/>Exercise 454<br/>12.<br/><br/>13. More Issues In Input/Output 465<br/>Using argc and argv 466<br/>Detecting Errors in Reading/Writing 470<br/>Standard I/O Devices 472<br/>I/O Redirection 473<br/>Redirecting the Output 474<br/><br/>xiii<br/><br/>Redirecting the Input 476<br/>Both Ways at Once 477<br/>Summary 478<br/>Exercise 478<br/>14.<br/><br/>15.<br/>Operations On Bits 481<br/>Bitwise Operators 482<br/>One’s Complement Operator 484<br/>Right Shift Operator 486<br/>Left Shift Operator 488<br/>Bitwise AND Operator 493<br/>Bitwise OR Operator 498<br/>Bitwise XOR Operator 499<br/>The showbits( ) Function 500<br/>Summary 501<br/>Exercise 501<br/>Miscellaneous Features 505<br/>Enumerated Data Type 506<br/>Uses of Enumerated Data Type 507<br/>Renaming Data Types with typedef 510<br/>Typecasting 511<br/>Bit Fields 513<br/>Pointers to Functions 515<br/>Functions Returning Pointers 518<br/>Functions with Variable Number of Arguments 520<br/>Unions 524<br/>Union of Structures 530<br/>Summary 531<br/>Exercise 531<br/><br/>xiv<br/><br/>C Under Windows 535<br/>Which Windows... 536<br/>Integers 537<br/>The Use of typedef 537<br/>Pointers in the 32-bit World 539<br/>Memory Management 540<br/>Device Access 543<br/>DOS Programming Model 543<br/>Windows Programming Model 547<br/>Event Driven Model 551<br/>Windows Programming, a Closer Look 552<br/>The First Windows Program 554<br/>Hungarian Notation 558<br/>Summary 558<br/>Exercise 559<br/>16.<br/><br/>17.<br/><br/>18.<br/>Windows Programming 561<br/>The Role of a Message Box 562<br/>Here Comes the window... 563<br/>More Windows 566<br/>A Real-World Window 567<br/>Creation and Displaying of Window 569<br/>Interaction with Window 570<br/>Reacting to Messages 572<br/>Program Instances 575<br/>Summary 575<br/>Exercise 576<br/>Graphics Under Windows 579<br/>Graphics as of Now 580<br/>Device Independent Drawing 580<br/><br/>xv<br/><br/>Hello Windows 582<br/>Drawing Shapes 586<br/>Types of Pens 590<br/>Types of Brushes 592<br/>Code and Resources 596<br/>Freehand Drawing, the Paintbrush Style 596<br/>Capturing the Mouse 600<br/>Device Context, a Closer Look 601<br/>Displaying a Bitmap 603<br/>Animation at Work 607<br/>WM_CREATE and OnCreate( ) 611<br/>WM_TIMER and OnTimer( ) 611<br/>A Few More Points... 612<br/>Windows, the Endless World... 613<br/>Summary 614<br/>Exercise 615<br/>19. Interaction With Hardware 617<br/>Hardware Interaction 618<br/>Hardware Interaction, DOS Perspective 619<br/>Hardware Interaction, Windows Perspective 623<br/>Communication with Storage Devices 626<br/>The ReadSector( ) Function 631<br/>Accessing Other Storage Devices 633<br/>Communication with Keyboard 634<br/>Dynamic Linking 635<br/>Windows Hooks 635<br/>Caps Locked, Permanently 637<br/>Did You Press It TTwwiiccee...... 643<br/>Mangling Keys 644<br/>KeyLogger 645<br/>Where is This Leading 646<br/>Summary 647<br/>Exercise 647<br/><br/>xvi<br/><br/>C Under Linux 649<br/>What is Linux 650<br/>C Programming Under Linux 651<br/>The ‘Hello Linux’ Program 652<br/>Processes 653<br/>Parent and Child Processes 655<br/>More Processes 659<br/>Zombies and Orphans 660<br/>One Interesting Fact 663<br/>Summary 664<br/>Exercise 664<br/>20.<br/><br/>21. More Linux Programming 667<br/>Communication using Signals 668<br/>Handling Multiple Signals 671<br/>Registering a Common Handler 673<br/>Blocking Signals 675<br/>Event Driven Programming 678<br/>Where Do You Go From Here 684<br/>Summary 684<br/>Exercise 685<br/>Appendix A – Precedence Table 687<br/>Appendix B – Standard Library Functions 691<br/>Appendix C – Chasing the Bugs 701<br/>Appendix D – Hexadecimal Numbering 713<br/>Appendix E – ASCII Chart 719<br/>Appendix F – Helper.h File 725<br/>Appendix G – Boot Parameters 729<br/>Appendix H – Linux Installation 735<br/>Index 739<br/><br/>xvii |
505 ## - FORMATTED CONTENTS NOTE | |
Uniform Resource Identifier | <a href="https://drive.google.com/file/d/0B-Rb64QiDg8wcWZSbUxpYUJ0NlU/view">https://drive.google.com/file/d/0B-Rb64QiDg8wcWZSbUxpYUJ0NlU/view</a> |
700 ## - ADDED ENTRY--PERSONAL NAME | |
Personal name | Yashavant P Kanetkar |
856 ## - ELECTRONIC LOCATION AND ACCESS | |
Uniform Resource Identifier | <a href="https://drive.google.com/file/d/0B-Rb64QiDg8wcWZSbUxpYUJ0NlU/view">https://drive.google.com/file/d/0B-Rb64QiDg8wcWZSbUxpYUJ0NlU/view</a> |
942 ## - ADDED ENTRY ELEMENTS (KOHA) | |
Source of classification or shelving scheme | Dewey Decimal Classification |
Koha item type | Books |
Koha issues (borrowed), all copies | 73 |
Withdrawn status | Lost status | Source of classification or shelving scheme | Damaged status | Not for loan | Home library | Current library | Shelving location | Date acquired | Cost, normal purchase price | Total Checkouts | Full call number | Barcode | Checked out | Date last seen | Date checked out | Price effective from | Koha item type | Total Renewals | Source of acquisition | Inventory number |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 6 | 005.133 KAN-L | 15479 | 13/10/2023 | 29/09/2023 | 29/09/2023 | 14/09/2012 | Books | |||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 20 | 005.133 KAN-L | 15480 | 25/01/2023 | 21/12/2022 | 14/09/2012 | Books | ||||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 18 | 005.133 KAN-L | 15481 | 16/09/2024 | 10/09/2024 | 14/09/2012 | Books | 1 | |||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 28 | 005.133 KAN-L | 15482 | 11/09/2024 | 27/08/2024 | 14/09/2012 | Books | 1 | |||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 28 | 005.133 KAN-L | 15483 | 18/10/2024 | 03/10/2024 | 14/09/2012 | Books | ||||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 32 | 005.133 KAN-L | 15484 | 10/12/2024 | 26/11/2024 | 26/11/2024 | 14/09/2012 | Books | |||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 9 | 005.133 KAN-L | 15485 | 09/09/2024 | 27/08/2024 | 14/09/2012 | Books | ||||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 22 | 005.133 KAN-L | 15486 | 18/11/2024 | 04/11/2024 | 14/09/2012 | Books | ||||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 23 | 005.133 KAN-L | 15487 | 08/09/2023 | 25/08/2023 | 25/08/2023 | 14/09/2012 | Books | |||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET CSE | 14/09/2012 | 258.00 | 005.133 KAN-L | 15488 | 18/09/2023 | 14/09/2012 | Books | ||||||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET Aerospace | 05/08/2019 | 279.00 | 26 | 005.133 KAN-L | 29127 | 21/10/2024 | 10/10/2024 | 05/08/2019 | Books | SBA | SBA / 12498 17/07/2019 | ||||||
Dewey Decimal Classification | Amity Central Library | Amity Central Library | ASET Aerospace | 05/08/2019 | 279.00 | 20 | 005.133 KAN-L | 29128 | 27/11/2024 | 14/11/2024 | 05/08/2019 | Books | SBA | SBA / 12498 17/07/2019 |