Learn: in:
» back to Search Results

Course rating of 0 Vendor rating of 0


Students will develop the ability to design and write programs in the C programming language. Intended for programmers new to the ANSI C language.


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

Topics: 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()
Data Types and Variables
  • Fundamental Data Types
  • Data Type Values and Sizes
  • Variable Declarations
  • Variable Names
  • Constants
  • Character Constants
  • String Constants
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
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
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
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

Audience: Programmers new to the ANSI C language.
Prerequisites & Certificates
Pre-Requisites

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

Certificates offered

Certificate of completion


Cancellation Policy
You may cancel, at no charge, a Class enrollment at least 15 days prior to the Class start date by giving us notice. If your plans change, please cancel your enrollment as soon as possible by calling 416-927-7170. A cancellation must be done on a business day at least 15 days prior to the course start date. If canceled less than 15 days before the course, it is subject to a cancellation charge equal to the list tuition fee. If a student does not attend a Class without having canceled in accordance with these Terms, you must pay the full price for the Class.

Substitutions of enrolled students in the scheduled Classes are permitted at no charge prior to the Class start on the first day. If you are sending a substitute, please let us know to avoid no show charges.

Map & Reviews
ACRA Training
[ View Provider's Profile ]

Reviews
 

This course has not yet been rated by one of our members.

If you have taken a course through this vendor please log into your account and leave feedback for this vendor. You will be helping ensure our members get directed to the best training facilities.

need-to-train-a-group-banner

This course currently does not have any dates scheduled. Please call 1-877-313-8881 to enquire about future dates or scheduling a private, in house course for your team.

This page has been viewed 377 times.