Introduction to	Programming in the C / C++ Languages

				
			COURSE DESCRIPTION

	This course will teach the syntax and constructs of the ANSI		
	C and Standard C++ programming languages.  Both basic and 
	advanced techniques will be shown.


			COURSE OBJECTIVES

	The overall course objective is to teach sufficient C /C++ 
	language information to have the programmer at production 
	coding level by the end of the course.


			COURSE TOPICS
                				
		========== ANSI C ===========

		C programming structure
			main routine layout
			C data types
			statements used to allocate storage
			radix specifiers
			Basic operators
				unary
				binary
				logical
				conditional

		Beginning input and output in C
			printf function
			scanf function

		Commands for C program development
			compile
			link
			run
               
		Loop constructs
			for statement
			while statement
			do while statement

		Arrays
			layout
			dimensioning
			accessing

		Decision statements
			if blocks
			switch block
			Defining and calling functions
			prototyping
			data declarations
			returning values

		Character string operations
			null-terminated strings
			C run-time string functions

		Structures
			struct statement
			accessing structure members
			structures containing arrays
			structures containing structures

		Creating and accessing files
			file functions

		Understanding and using pointers
			pointers to simple data types
			pointers to structures
			pointers to arrays
			pointers to character strings
			pointers and functions

		Bit operations
			setting, clearing, testing
			using bits within structures

                				
		Defining macros
			pre-processor directives
			including directives at compile time
			conditional compilation

		========== Standard C++ ===========

		Overview of object oriented programming
			evolution of programming types
			encapsulation
			polymorphism
			inheritance


		C++ language program structure
			common features with ANSI C
						
						
		Differences between C and C++
			function prototyping
			positioning of variable declarations
			character constant conversion
			identifier names conventions
			operator precedence
			overloading operators


		Basic and advanced I/O in C++
			istream class
			ostream class
			cout and cin I/O object (functions)
			I/O manipulators
			character and line input objects
			customizing I/O manipulators
			file I/O functions
			
		Defining and using classes
			basic class definition
			private and public members	
			allocation of (class) objects
			constructors and destructors
			dynamic memory allocation/deallocation
			arguments to constructors

		Arrays, pointers, and references in C++
			object pointers
			assigning objects
			the this pointer
			arrays of objects

		Defining and using Functions in C++
			class member functions
			prototyping
			overloading function capabilities
			(automatic) in-line functions
			passing objects to functions
			returning objects from functions
			returning references from functions
			friend functions
			references
			virtual functions
			overloading constructor functions
			template functions
			default arguments


		Inheritance
			base and derived classes
			access control
			constructors and destructors
			multiple inheritance
			virtual base classes

			COURSE DURATION

   	This course requires five (5) days, approximately 
	50% lecture, and 50% lab time.

                             
			COURSE PREREQUISITES

	It is assumed that the participant has used an interactive
	computer system, specifically, use of a text-file editor.  
	Basics of the specific editor(s) used for the course will
	be covered during the program development module.



Languages Curricula Page Laine Schedule Page Laine Home Page


Copyright 2007 Laine Educational Enterprises, Ltd