Introduction to C++ Programming Language

Oct 1, 2024

C++ Introduction Lecture Notes

Overview

  • Speaker: Kishore from Naresh I.T.
  • Topic: Introduction to C++

What is C++?

  • C++ is a general purpose, high level, compiler based, and object-oriented programming language.

General Purpose Programming Language

  • Definition: Can design various types of software.
  • Example: Like a general store that sells different items, C++ can be used to create different software applications.

Types of Software Designed with C++:

  1. Operating Systems

    • Examples: DOS, Windows, Unix.
  2. Editors

    • Examples: Notepad, WordPad, MS Office, Edit Plus.
  3. Commercial Applications

    • Examples: Billing systems, bank transaction software, supermarket software, hotel management systems.
  4. Database Software

    • Examples: Oracle, SQL Server, MySQL.
  5. Translators

    • Converts source code (user input) into object code (machine code).
    • Types of Translators:
      • Compiler
      • Interpreter
      • Assembler
    • C++ uses a compiler as a translator.
  6. Device Drivers

    • Examples: Drivers for printers, keyboards, mice, etc.
  7. Games

    • Examples: PC and mobile games like Snake, Mario, Contra.
  8. Protocols

    • Examples: HTTP (Hypertext Transfer Protocol), FTP (File Transfer Protocol).
    • 90% of telecom protocols are designed in C++.

High Level Programming Language

  • Definition: A language that is more user-friendly and abstract than low level programming languages.

Definitions Related to Software:

  1. Software: A collection of programs.
  2. Program: A set of instructions that tell the computer what to do.
  3. Digitalized Automated Process: Software automates processes and presents information in a digital format.

Types of Software:

  1. System Software
    • Example: Operating systems (Android, Windows, Unix).
  2. Application Software
    • Designed for specific tasks (e.g., Tally for accounting, VLC for media playback).

Relationship Between System and Application Software:

  • System Software (e.g., operating systems) is essential for running Application Software (e.g., Tally, WhatsApp).
  • Without system software, application software cannot function.

Conclusion

  • C++ is a versatile language that supports the development of various types of software applications, from operating systems to commercial applications and games.
  • Next session will cover remaining topics.