TAILIEUCHUNG - Fundamentals of Programming

This course provides the core knowledge to begin programming in any language. Simon Allardice uses JavaScript to explore the core syntax of a programming language, and shows how to write and execute your first application and understand what's going on under the hood. The course covers creating small programs to explore conditions, loops, variables, and expressions; working with different kinds of data and seeing how they affect memory; writing modular code; and how to debug, all using different approaches to constructing software applications | Fundamentals of C Programming Richard L. Halterman School of Computing University January 27 2013 Copyright 2013 Richard L. Halterman. All rights reserved. i Contents 1 The Context of Software Development 1 Software. 2 Development Tools. 2 Learning Programming with C . 5 Summary. 6 Exercises . 6 2 Writing a C Program 7 General Structure of a Simple C Program. 7 Compiling the source code. 9 Variations of our simple program. 14 Template for simple C programs. 17 Summary. 18 Exercises . 19 3 Values and Variables 21 Integer Values. 21 Variables and Assignment . 23 Identifiers. 26 Floating-point Types . 29 Constants . 31 Other Numeric Types . 31 Characters . 32 Enumerated Types . 34 Type Inference with auto . 35 Summary. 36 2013 Richard L. Halterman Draft date January 27 .

TÀI LIỆU HOT