0% found this document useful (0 votes)
35 views

09Cs203 Programming in C++ Credits: 3:0:0 Course Objective

This course provides an in-depth introduction to object-oriented programming in C++, covering key concepts like classes, inheritance, polymorphism, and templates. The course is divided into 5 units that cover C++ fundamentals like data types, control structures, and functions, as well as more advanced topics such as class construction, pointers, inheritance, exceptions, and file I/O using streams. Students will learn to create new data types with classes, reuse code through inheritance, and handle errors with exceptions. Prerequisites include a basic knowledge of C programming.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

09Cs203 Programming in C++ Credits: 3:0:0 Course Objective

This course provides an in-depth introduction to object-oriented programming in C++, covering key concepts like classes, inheritance, polymorphism, and templates. The course is divided into 5 units that cover C++ fundamentals like data types, control structures, and functions, as well as more advanced topics such as class construction, pointers, inheritance, exceptions, and file I/O using streams. Students will learn to create new data types with classes, reuse code through inheritance, and handle errors with exceptions. Prerequisites include a basic knowledge of C programming.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

09CS203 PROGRAMMING IN C++ Credits: 3:0:0 Course Objective: This course provides in-depth coverage of object-oriented programming principles

and techniques using C++. Prerequisite: C programming Knowledge Unit I Objects classes inheritance reusability creating new data types polymorphism and overloading. Basic program construction data types: integer, character, float, double, long, double and Boolean. Input output statements: cin cout comments escape sequence manipulators type conversion arithmetic logical and relational operators and library function. Unit II For loop while loop & do loop and if- ifelse, switch & other control statements Structures Enumeration Functions: passing arguments to functions returning values from functions reference arguments overloaded functions inline functions default arguments variables and storage class and returning by reference. Unit III A simple class c++ objects as physical objects c++ objects and data types object as function argument constructors as function argument overloaded constructors copy constructors returning objects from functions structures and classes static class data const and classes Arrays and Strings. Unit IV Overloading unary and binary operators data conversion and pitfalls. Inheritance: derived class and base class derived class constructors overloading member functions class hierarchies public and private inheritance level of inheritance multiple inheritance. Pointers: address and pointers pointers and arrays pointer and c-type strings new and delete operator pointers to pointer. Unit V Virtual functions friend functions static functions this pointer. Streams and files: stream classes stream errors disk file I/O with streams file pointers error handling in file I/O. Templates and exception: function templates class templates exceptions. Text Book: Robert Lafore, Object Oriented Programming in C++, Fourth Edition, Tech Media, 2002. ISBN 0-672-32308-7. Reference Book: Herbert Schildt, C++: The Complete Reference, Fourth Edition, Tata McGraw-Hill, 2003. ISBN 0-07-053246-X.

You might also like