C++ Notes
Computer Programming – 1 Details of Syllabus: Sr. No 1 1.1 1.2 Structure Programming using C++ C++ as a superset of C programming language C++ fundamental : Character set, Identifiers & Keywords, data types, Constants & Variables 1.3 Declaration : Operators & Expressions, Library function statements, Symbolic constants, Preprocessor directives 2 2.1 Data Input and Output & Control Statements getchar( ), putchar( ), scanf( ), printf( ), gets( ), puts( ),cin, cout, setw( ), endl, 2.2 If-else, while, do-while, goto, for, nested control structures, switch, break, continue statements, comma operator 3 3.1 Function and Arrays Function prototypes, passing arguments to a function by value and by reference, recursion overloading functions, storage classes 3.2 Defining processing array, passing array to functions, introduction to multidimensional array and strings 4 4.1 Pointers, Structure and Unions Declarations. Referencing & dereferencing passing pointer functions , pointer to functions , pointer to arrays 4.2 4.3 5 5.1 Structure & Unions. Defining and processing a structure Creation and manipulation of linked list Object Oriented Programming using C++ Classes, Objects, Data encapsulation, access specifiers, private, public and protected inheritance in details, operator overloading of unary and binary arithmetic operators, virtual functions, pure virtual functions 6 6.1 Late binding, friend function, object as function parameter, overriding functions, overload constructors, copy constructors, static class member 6 8 5 7 6 5 Details Hrs
Programs to be implemented in the lab: Sr. No 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. Topics on which the programs have to be done in lab If – else Reverse an integer & find sum of digits of an integer using do-while Factorial using do-while Drawing a pyramid using for Calculator using switch Function Recursive function Single dimensional array Matrix Multiplication using