Module 6: Introduction to C Language ITEI102 Introduction to Programming Structure of C++ Program - Programming Terminologies - Microsoft Visual Studio.

Slides:



Advertisements
Similar presentations
C++ Introduction.
Advertisements

EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Introduction to Programming Lecture 2. Today’s Lecture Software Categories Software Categories System Software System Software Application Software Application.
The Functions and Purposes of Translators Code Generation (Intermediate Code, Optimisation, Final Code), Linkers & Loaders.
Introduction to basic programming Kai Zang Jul 2 nd, 2012.
Introduction Kingdom of Saudi Arabia Shaqra University
Three types of computer languages
1 Key Concepts:  Why C?  Life Cycle Of a C program,  What is a computer program?  A program statement?  Basic parts of a C program,  Printf() function?
 2003 Prentice Hall, Inc. All rights reserved. 1 Machine Languages, Assembly Languages, and High-level Languages Three types of computer languages 1.Machine.
1 Chapter Two Introduction to the Programming Language C.
C programming Language and Data Structure For DIT Students.
Chapter 3: Introduction to C Programming Language C development environment A simple program example Characters and tokens Structure of a C program –comment.
COMPUTER PROGRAMMING. Introduction to C++ History Merges notions from Smalltalk and notions from C The class concept was borrowed from Simular67 Developed.
A First Program Using C#
“C” Programming Language What is language ? Language is medium of communication. If two persons want to communicate with each other, they have to use.
Programming Design Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Basics of “C” Programming
CSC141 Introduction to Computer Programming
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
History of C and C++ C++ evolved from C ANSI C C++ “spruces up” C
1 Agenda Administration Background Our first C program Working environment Exercise Memory and Variables.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Computer Engineering 1 nd Semester Dr. Rabie A. Ramadan 2.
Evolution and History of Programming Languages. Machine languages Assembly languages Higher-level languages To build programs, people use languages that.
Evolution and History of Programming Languages. Software Programming Language.
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 2 Chapter 2 - Introduction to C Programming.
Programming Fundamentals. Today’s Lecture Why do we need Object Oriented Language C++ and C Basics of a typical C++ Environment Basic Program Construction.
Course Title: Introduction to C++ Course Instructor: ADEEL ANJUM Chapter No: 01 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Beginning C++ Through Game Programming, Second Edition
COMPUTER PROGRAMMING. A Typical C++ Environment Phases of C++ Programs: 1- Edit 2- Preprocess 3- Compile 4- Link 5- Load 6- Execute Loader Primary Memory.
1 Programming in C Hello World! Soon I will control the world! Soon I will control the world!
INTRODUCTION Kingdom of Saudi Arabia Princess Nora bint Abdul Rahman University College of Computer Since and Information System CS240.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
1 CHAPTER 3 MODULAR PROGRAMMING. 2 Introduction  A library in C is a collection of general purpose and related functions.  2 types of libraries: Standard.
Typical C++ Environment and Library Introduction Speaker : Wei-Lu Lin Advisor : Ku-Yaw Chang 2012/10/14.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
CHAPTER 1 INTRODUCTION 2 nd Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
CS-303 Introduction to Programming
CHAPTER 1: INTRODUCTION C++ Programming. CS 241 Course URL: Text Book: C++ How to Program, DETITEL & DEITEL, eighth Edition.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Week 1 Lecture 2SE1SA51 Introducing C SE1SA5 Sue Walmsley.
Course Title Object Oriented Programming with C++ instructor ADEEL ANJUM Chapter No: 03 Conditional statement 1 BY ADEEL ANJUM (MSc-cs, CCNA,WEB DEVELOPER)
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 1 – Introduction to C.
Introduction to C Programming Language. History of C  C was evolved by Dennis Ritchie at AT&T Bell Laboratories in early of 1970s  Successor of: ALGOL.
An overview of C Language. Overview of C C language is a general purpose and structured programming language developed by 'Dennis Ritchie' at AT &T's.
 2003 Prentice Hall, Inc. All rights reserved Basics of a Typical C++ Environment C++ systems –Program-development environment –Language –C++
Introduction to C Programming
1 Types of Programming Language (1) Three types of programming languages 1.Machine languages Strings of numbers giving machine specific instructions Example:
Structured programming 1 st stage By Heba.A Raheem Assist Lecturer College of Sciences/Computer Sciences Department.
برمجه حاسبات 2 أ. بيان غزلان الفصل الدراسي هـ.
1 CS 192 Lecture 4 Winter 2003 December 8-9, 2003 Dr. Shafay Shamail.
Chapter 1 Introduction 2nd Semester H
Chapter 1: Introduction to computers and C++ Programming
CS-103 COMPUTER PROGRAMMING
Beginning C++ Programming
Computer Engineering 1nd Semester
1.13 The Key Software Trend: Object Technology
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Programming Fundamentals Lecture #3 Overview of Computer Programming
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Introduction to Computer Programming
Programs written in C and C++ can run on many different computers
Capitolo 1 – Introduction C++ Programming
PROGRAM AT RUNTIME Subject code: CSCI-620
Computer Programming-1 CSC 111
Chapter 1 Introduction to Programming
Introduction to C Programming
Presentation transcript:

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