Skip to content

hitesh7424/CppCourse_ApniKaksha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding-Courses-notes

Introduction

YT Channel: Apna College

Video Playlist: C++ Full Course


Commands & Software


  • Requirements:
    • gcc
      • for windows: choco install mingw
      • for linux: already installed
    • vscode

git clone https://github.com/HiteshKrGaurav/CppCourse_ApniKaksha.git
g++ filenme.cpp -o filenme && ./filename

Important

Hindi Digits: "१२३४५६७८९०"

add a empty line at the end to avoid warning: no newline at end of file

default value cannot be assigned in declaration of function

int add(int x = 0, int y = 0);
🗸🗸 int add(int x, int y);
🗸🗸 int add(int x = 0, int y = 0){ return 0;}

To pass matrix to a function

  1. define a constant variable with #define variable_name value

  2. defined variable should be used in function arguments instead of a value

    #define N 1000
    void func1(arr[][N]){}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages