C++ Syllabus/Topics/Roadmap for Beginners

Maisha Maliha
3 min readMar 25, 2023

--

C++ syllabus/topics/roadmap for beginners

C++ is a compiled language so you must also learn about the compiler you are using because not all compilers will give the same result. C++ codes run from top to bottom serially. Also, check the version of your compiler and C++ version. You cannot use all C++ features if the C++ version/compiler version you have don’t support them.

Whatever programming language you learn there are certain things you must know. I have included a few terms you must look into and understand because these terms are used in almost all programming languages. For example, identifiers. Identifiers are can refer to anything like variables, function names, class names, etc. Because these names are used to identify.

Essential concepts/terms you need to know before learning any new programming language:

1. Keywords

2. Identifiers

3. Literals

4. Operators

5. Declarations

6. Initializations

7. Assignment

8. Expressions

9. Statements

10. Conditional statements/control flow

11. Iterating statements/loops

12. Exceptions

13. Comments

14. Punctuations

Basic topics for C++

Now here are the topics that you need to know if you are planning to learn C++.

1. Keywords

2. Comments

3. Punctuations

4. Data types and sizes

5. Variables / Identifiers

6. Literals

7. Declarations and Definitions

8. Ways to Declare identifiers

9. Initializing types

10. Operators

a) Assignment operator

b) Arithmetics operator

c) Increment and decrement operator

d) Comparison operator

e) Logical operator

f) Member access operator

g) More operators on the www.cppreference.com site

h) Special operators like — delete, sizeof, typeid, new, etc.

i) Operator precedence

j) Operator overloading

11. Basic I/O — std::cout(), std::cin(), std::getline(std::cin, varname);

12. Type conversion ( int to float)

13. Kinds of expressions (a =b+c)

14. References and pointers

15. Control flow statements

a) If statements

b) If-else statements

c) If-elseif statements

d) Switch statements

e) Ternary statements

f) Nested conditional statements

16. Iteration statement

a) For loop

b) Range for loop

c) while

d) Do-while

e) Break, continue, goto, return

f) Nested loop

17. Function

a) Function Define

b) Function definition/initialization

c) Functions declaration and definition rules

d) Functions argument

e) Function parameter

f) Function default arguments

g) Function return type

h) Function calling ways

i) Recurrison

j) Function overloading

k) Lambda expressions

18. The “main()” function

19. Scope and lifetime of variables, functions, etc.

20. #include

21. Array

22. Class and objects

a) Class types

b) Class access modifiers

c) Class declaration

d) Class members

e) Member access

f) Class constructor

g) Class destructor

h) Nested class

i) Method/function override

j) Method/function overloading

k) Class function definition outside class

l) Class friend declaration

m) Object creation

n) Using objects

23. String and string library

24. Enum

25. Union

26. Struct

27. Templates

a) declaration and initialization

b) Template parameters and arguments

c) Class Template

d) Function Template

e) Variable Template

28. Exceptions

a) Throw-expression

b) Try-catch block

29. Preprocessors

30. Standard libraries

There is more to these topics. I will soon add more in-depth posts regarding these topics individually. Hope this helps.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Maisha Maliha
Maisha Maliha

Written by Maisha Maliha

Hello, I am Maisha. I am from Bangladesh. I am studying CSE. I like learning new spoken languages and coding.

No responses yet

Write a response