Module 6: Introduction to C Language ITEI102 Introduction to Programming Structure of C++ Program - Programming Terminologies - Microsoft Visual Studio The C++ Screen - Console Output and Escape Sequences - Console Input - Data Types
Introduction to C > Microsoft Visual C++ 2
3
4 Introduction to C> IDE of MSVC
Versions: There are five current versions of Visual C++ available: Microsoft Visual C Express Edition (available as a free download at the MSDN site) Microsoft Visual Studio 2010 Professional Microsoft Visual Studio 2010 Team Foundation Microsoft Visual Studio 2010 Premium Microsoft Visual Studio 2010 Ultimate Note: Visual C++ is included in Visual Studio. 5
Introduction to Computer Programming 6 Introduction to C language > Why use C?
Introduction to C language > Brief History of C
Introduction to C language > Advantages of C
Introduction to C language > Running C Programs
Introduction to C language > Running C Programs> Editing
Introduction to C language > Running C Programs> Compiling
Introduction to C language > Running C Programs> Linking
Introduction to C language > Running C Programs> Executable Files
Introduction to Computer Programming 15 Phases of C++ Programs: 1.Edit 2.Preprocess 3.Compile 4.Link 5.Load 6.Execute Loader Primary Memory Program is created in the editor and stored on disk. Preprocessor program processes the code. Loader puts program in memory. CPU takes each instruction and executes it, possibly storing new data values as the program executes. Compiler Compiler creates object code and stores it on disk. Linker links the object code with the libraries, creates a.out and stores it on disk Editor Preprocessor Linker CPU Primary Memory Disk Introduction to C language > Basics of a Typical C++ Environment
Introduction to C language > Structure of C programs > C’ Character set
Introduction to C language > Structure of C programs > Constants
Introduction to C language > Structure of C programs > Integer Constants
Introduction to C language > Structure of C programs > Real Constants
Introduction to C language > Structure of C programs > Character Constants
Introduction to C language > Structure of C programs > String Constants
Introduction to C language > C Variable
Introduction to C language > C Variables
Introduction to C language > C Keywords
Introduction to C language > Identifiers
Introduction to C language > The form of a C Language
Introduction to C language > The Layout of a C Language
Introduction to C language > Your First Program
Introduction to C language > Adding Comments to a Program
Introduction to C language > Anatomy of C Programs
Data Types, operators and Expressions> Data Types Introduction to Computer Programming 33
Introduction to Computer Programming 34 Data Types, operators and Expressions > Data Types>Integer Number Variables
Introduction to Computer Programming 35 Data Types, operators and Expressions > Data Types>Decimal Number Variables
Introduction to Computer Programming 36 Data Types, operators and Expressions > Data Types> Character Variables
Introduction to Computer Programming 37 Data Types, operators and Expressions > Assignment Statement
Introduction to Computer Programming 39 Data Types, operators and Expressions> Global Variables
Data Types, operators and Expressions> Constant Data Types
Introduction to Computer Programming 41 Data Types, operators and Expressions> Constant Data Types> Example program
Data Types, operators and Expressions> User defined data types
Introduction to Computer Programming 43 Data Types, operators and Expressions> Enumerated data types