Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 738 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 738 Bytes

Modern-C++ Notes

Taken from Modern C++ level 2 playlist and Modern C++ level 3 playlist by Eng.Moatasem Elsayed

Introduction

C++ file extension is .cpp

You can run both C and C++ code

example:

#include <stdio.h>
#include <iostream>

int main(void)
{
    printf("Hello C\n");
    std::cout << "Hello C++\n"; 
    return 0;
}

and the output is :

Hello C
Hello C++

Content

C vs C++ -- level-2

  1. Datatypes
  2. ranged for loop
  3. functions
  4. initialization
  5. refernces
  6. some keywords

C++ -- level-3

  1. Class