Thursday , 21 September 2017
   

C Programming

 

 

 

 

Overview:

Students will develop the ability to design and write programs in the C programming language.

 

Pre-requisites:

Programming skill in a language such as Pascal, COBOL, BASIC, or assembler.

 

Outline:

An Overview of C

  • The First Program (hello.c)
  • How to Compile and Run a C Program
  • An Arithmetic Program (roof.c)
  • Execution Flow Control (mph.c)
  • The for Loop
  • The for Loop - Diagram
  • Character I/O
  • A File Copier Program (cp2.c)
  • A Character Counter (wc2.c)
  • A Look at Arrays
  • Stock Values (stock1.c)
  • The char Data Type
  • Strings (Character Arrays)
  • A String Copy Program (stringcp.c)
  • A Look at Functions
  • A Functional Program (func1.c)
  • A Review of printf()

Operators and Expressions

  • What are Expressions?
  • Arithmetic Operators
  • Relational Operators
  • Assignment Operator
  • Expressions Have Resulting Values
  • True and False
  • Logical Operators
  • Increment and Decrement Operators (++ and --)
  • Increment and Decrement Operators: Examples
  • 'Operate-Assign' Operators (+=, *=, ...)
  • Conditional Expression
  • Operator Precedence
  • Precedence and Order of Evaluation
  • Evaluation of Logical Operators
  • Type Conversions
  • The Cast Operator
  • Bitwise Logical Operators

Data Types and Variables

  • Fundamental Data Types
  • Data Type Values and Sizes
  • Variable Declarations
  • Variable Names
  • Constants
  • Character Constants
  • String Constants

Control Flow

  • Statements
  • if - else
  • if() - else if()
  • switch()
  • while()
  • do - while()
  • for()
  • The for Loop - Diagram
  • Example: for() Loop
  • Another Example: for() Loop
  • The break Statement
  • The continue Statement

Functions

  • What is a Function?
  • Example: findbig3()
  • Why Use Functions?
  • Anatomy of a Function
  • Example: find_big_int()
  • Arguments Passed by Value
  • Addresses of Arguments Can Be Passed
  • A Picture of Addresses and Values
  • When to Use the Return Statement
  • Returning Non-Integer Values
  • Functions in Multiple Source Files
  • A Simple make File
  • The Concept of Variable Scope
  • Automatic Variables
  • Global (External) Variables
  • Static Variables
  • External Static Variables

The C Preprocessor

  • Symbolic Constants
  • Macro Substitution
  • File Inclusion

Pointers and Arrays

  • What is a Pointer?
  • Pointer Operators
  • Example: Pointers
  • Why Use Pointers?
  • Arrays
  • Arrays (a Picture)
  • The & Operator
  • Pointers and Arrays
  • Pointer Arithmetic
  • Pointer Arithmetic (a Picture)
  • Arrays and Pointers
  • Array Names are Constant Pointers
  • Passing Arrays to Functions
  • Initializing Arrays

Appendix - File I/O in C

  • File Streams
  • Predefined Streams
  • The fprintf Function
  • The fscanf Function
  • fscanf() Examples
  • The fputs and fgets Functions
  • The fwrite and fread Functions
  • System I/O

Advanced Pointers

  • Pointer Initialization
  • Command-Line Arguments
  • Strings and Character Pointers
  • Arrays of Pointers
  • Command-Line Arguments
  • Access Through Pointers
  • Functions and Pointers
  • Example: Functions and Pointers

Structures

  • Structures
  • Comparison of Structures and Arrays
  • Structure Definitions
  • Structure Declarations
  • Structure Parameter Passing by Reference
  • Pointers to Structures
  • Structure Parameter Passing Again
  • Arrays of Structures
  • The malloc Routine
   
   

 

buy cytotec for 24 week abortion i need to buy the abortion pill ordering abortion pills to be shipped to house
i need to buy the abortion pill link buy the abortion pill online
abortion pill online abortion pill buy cytotec for 24 week abortion
how many people cheat wives that cheat what makes women cheat
all wives cheat online women who love to cheat
open wives cheat how many people cheat
click open why husbands cheat
viagra without prescription cheap buy chinese herbal viagra read
facts about abortion pill pregnancy abortion abortion pill risks
read link what causes women to cheat
affairs with married men how often do women cheat on their husbands how to cheat with a married woman
married men who have affairs affair dating sites why do wifes cheat
plan parenthood abortion statistics of abortion abortion prices
my boyfriend cheated on me with my best friend open i cheated on my boyfriend how to get him back
how married men cheat parentpower.com reasons why husband cheat
dating for married why husband cheat women that cheat with married men
husband cheated open reasons why husband cheat
reasons women cheat keelingconsulting.com husbands who cheat
adult stories anal link sex stories non fiction
women cheat link women who cheat on their husband
how to tell if wife has cheated site My boyfriend cheated on me
cipralex gewichtszunahme cipralex absetzen cipralex dosierung
sitagliptin phosphate sitagliptin phosphate metformin hydrochloride tablets sitagliptin phosphate msds
sitagliptin phosphate sitagliptin phosphate metformin hydrochloride tablets sitagliptin phosphate msds
plendil 5 mg pret click plendil 5 mg prospect

 

 

 


Copyright © 2010 Technocampus. All rights reserved.
All Logo's and Registered Trademarks are properties of their respective owners
The information contained in this website is authentic to the best of our knowledge and should be taken in the spirit of being a suggestive opinion only.
Any changes made cannot be claimed against Techno Campus. You are requested to cross-check the information given with the concerned authority.