Skip to content

rithin-jose/Cpp-basics

Repository files navigation

C Plus Plus basics

This repositor is intended to have the topics in cpp from basic to advances topics such as STL and implementation of algorithms. For the best experience the following order can be followed:

Basics

  1. Hello World
  2. Data Types
  3. Input and Output
  4. Input and Output manipulator
  5. Comments
  6. Operators
  7. Escape Sequence
  8. Keywords,identifiers and variable naming convention
  9. Control Flow
  10. conditional statments

Derived Data Type

  1. functions (important read)

  2. Pointer

  3. Reference

  4. Array

    2D Array

User defined data types

  1. Union
  2. Enum
  3. Typedef
  4. Structure
  5. Class

Pointer Advaced

  1. pointer to union
  2. pointer to array
  3. Dynamic memory allocation
  4. Pointer to function
  5. Pointer to Pointer
  6. Pointer to 2D array

Macros and Symbolic constants

  1. preprocessor
  2. pragma

Header files

  1. iostream
  2. stdio.h
  3. cctype
  4. math.h
  5. iomanip.h
  6. stdlib.h

Strings

Data Structures

Linked List

  1. linked list
  2. Doubly linked list
  3. circular linked list

Stack

  1. Stack
  2. Dynamic Stack
  3. Multi Stack

Queue

  1. Queue
  2. Dynamic Queue
  3. Double Ended Queue
  4. Circular Queue
  5. Multi Queue

Algorithm

  1. Searching

  2. Sorting

Important Programs

  1. Command Line arguments
  2. Random numbers between range
  3. Swaping nos.
  4. Element frequency in an array also can be considered as mode in stats
  5. Dutch flag Problem
  6. Pattern
  7. Sieve of Eratosthenes
  8. Balanced Bracket
  9. Generating Binary no
  10. Generating Binary till n
  11. Maximum subarray
  12. Next smallest palindrome

todo(Sections or topics to be covered later)

  • Reccursive array printing eg. i[arr]
  • length array explanation
  • forEach loop
  • namespace
  • Array pointer
  • type conversio coersion etc.
  • mode with map

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published