20.09.2015 Views

Programming in C

Kochan - ProgramminginC

Kochan - ProgramminginC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents At a Glance<br />

Preface<br />

xvii<br />

1 Introduction 1<br />

2 Some Fundamentals 5<br />

3 Compil<strong>in</strong>g and Runn<strong>in</strong>g Your First Program 11<br />

4 Variables, Data Types, and Arithmetic<br />

Expressions 21<br />

5 Program Loop<strong>in</strong>g 43<br />

6 Mak<strong>in</strong>g Decisions 65<br />

7 Work<strong>in</strong>g with Arrays 95<br />

8 Work<strong>in</strong>g with Functions 119<br />

9 Work<strong>in</strong>g with Structures 165<br />

10 Character Str<strong>in</strong>gs 195<br />

11 Po<strong>in</strong>ters 235<br />

12 Operations on Bits 279<br />

13 The Preprocessor 299<br />

14 More on Data Types 321<br />

15 Work<strong>in</strong>g with Larger Programs 333<br />

16 Input and Output Operations <strong>in</strong> C 347<br />

17 Miscellaneous and Advanced Features 373<br />

18 Debugg<strong>in</strong>g Programs 389<br />

19 Object-Oriented <strong>Programm<strong>in</strong>g</strong> 411<br />

A C Language Summary 425<br />

B The Standard C Library 467<br />

C Compil<strong>in</strong>g Programs with gcc 493<br />

D Common <strong>Programm<strong>in</strong>g</strong> Mistakes 497<br />

E Resources 501<br />

Index 505

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!