From 01eb37f3c1860b0a3b0bb557b75b538951e3e411 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 5 May 2021 00:03:33 +0530 Subject: [PATCH 001/120] Create C++ Else If.txt --- Tanay/CPP/C++ Else If.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Tanay/CPP/C++ Else If.txt diff --git a/Tanay/CPP/C++ Else If.txt b/Tanay/CPP/C++ Else If.txt new file mode 100644 index 000000000..b4848f461 --- /dev/null +++ b/Tanay/CPP/C++ Else If.txt @@ -0,0 +1,25 @@ +The else if Statement +Use the else if statement to specify a new condition if the first condition is false. + +Syntax +if (condition1) { + // block of code to be executed if condition1 is true +} else if (condition2) { + // block of code to be executed if the condition1 is false and condition2 is true +} else { + // block of code to be executed if the condition1 is false and condition2 is false +} +Example +int time = 22; +if (time < 10) { + cout << "Good morning."; +} else if (time < 20) { + cout << "Good day."; +} else { + cout << "Good evening."; +} +// Outputs "Good evening." +Example explained +In the example above, time (22) is greater than 10, so the first condition is false. The next condition, in the else if statement, is also false, so we move on to the else condition since condition1 and condition2 is both false - and print to the screen "Good evening". + +However, if the time was 14, our program would print "Good day." From 1e0c2331aa438ccb7651d91693c6b8700505c1f1 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 6 May 2021 23:46:25 +0530 Subject: [PATCH 002/120] Create C++_Short_Hand_If_Else.txt --- Tanay/CPP/C++_Short_Hand_If_Else.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Tanay/CPP/C++_Short_Hand_If_Else.txt diff --git a/Tanay/CPP/C++_Short_Hand_If_Else.txt b/Tanay/CPP/C++_Short_Hand_If_Else.txt new file mode 100644 index 000000000..504f2f4c4 --- /dev/null +++ b/Tanay/CPP/C++_Short_Hand_If_Else.txt @@ -0,0 +1,21 @@ +C++ Short Hand If Else +Short Hand If...Else (Ternary Operator) +There is also a short-hand if else, which is known as the ternary operator because it consists of three operands. It can be used to replace multiple lines of code with a single line. It is often used to replace simple if else statements: + +Syntax +variable = (condition) ? expressionTrue : expressionFalse; +Instead of writing: + +Example +int time = 20; +if (time < 18) { + cout << "Good day."; +} else { + cout << "Good evening."; +} +You can simply write: + +Example +int time = 20; +string result = (time < 18) ? "Good day." : "Good evening."; +cout << result; From ca0ee56abacedd31097a2653a4f78213888be56f Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 7 May 2021 00:05:24 +0530 Subject: [PATCH 003/120] Create C++_Switch.txt --- Tanay/CPP/C++_Switch.txt | 75 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Tanay/CPP/C++_Switch.txt diff --git a/Tanay/CPP/C++_Switch.txt b/Tanay/CPP/C++_Switch.txt new file mode 100644 index 000000000..0f20cea12 --- /dev/null +++ b/Tanay/CPP/C++_Switch.txt @@ -0,0 +1,75 @@ +C++ Switch +C++ Switch Statements +Use the switch statement to select one of many code blocks to be executed. + +Syntax +switch(expression) { + case x: + // code block + break; + case y: + // code block + break; + default: + // code block +} +This is how it works: + +The switch expression is evaluated once +The value of the expression is compared with the values of each case +If there is a match, the associated block of code is executed +The break and default keywords are optional, and will be described later in this chapter +The example below uses the weekday number to calculate the weekday name: + +Example +int day = 4; +switch (day) { + case 1: + cout << "Monday"; + break; + case 2: + cout << "Tuesday"; + break; + case 3: + cout << "Wednesday"; + break; + case 4: + cout << "Thursday"; + break; + case 5: + cout << "Friday"; + break; + case 6: + cout << "Saturday"; + break; + case 7: + cout << "Sunday"; + break; +} +// Outputs "Thursday" (day 4) +The break Keyword +When C++ reaches a break keyword, it breaks out of the switch block. + +This will stop the execution of more code and case testing inside the block. + +When a match is found, and the job is done, it's time for a break. There is no need for more testing. + +A break can save a lot of execution time because it "ignores" the execution of all the rest of the code in the switch block. + + +The default Keyword +The default keyword specifies some code to run if there is no case match: + +Example +int day = 4; +switch (day) { + case 6: + cout << "Today is Saturday"; + break; + case 7: + cout << "Today is Sunday"; + break; + default: + cout << "Looking forward to the Weekend"; +} +// Outputs "Looking forward to the Weekend" From 1fc72dbc5f91ee8d43a55ff356060d64c109003a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 8 May 2021 13:16:31 +0530 Subject: [PATCH 004/120] Create C++_While_Loop.txt --- Tanay/CPP/C++_While_Loop.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Tanay/CPP/C++_While_Loop.txt diff --git a/Tanay/CPP/C++_While_Loop.txt b/Tanay/CPP/C++_While_Loop.txt new file mode 100644 index 000000000..12459c144 --- /dev/null +++ b/Tanay/CPP/C++_While_Loop.txt @@ -0,0 +1,22 @@ +C++ While Loop +C++ Loops +Loops can execute a block of code as long as a specified condition is reached. + +Loops are handy because they save time, reduce errors, and they make code more readable. + +C++ While Loop +The while loop loops through a block of code as long as a specified condition is true: + +Syntax +while (condition) { + // code block to be executed +} +In the example below, the code in the loop will run, over and over again, as long as a variable (i) is less than 5: + +Example +int i = 0; +while (i < 5) { + cout << i << "\n"; + i++; +} +Note: Do not forget to increase the variable used in the condition, otherwise the loop will never end! From 2018f446532280ecb8293950815662338ff0d092 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 9 May 2021 23:34:37 +0530 Subject: [PATCH 005/120] Create C++Do_While_Loop.txt --- Tanay/CPP/C++Do_While_Loop.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Tanay/CPP/C++Do_While_Loop.txt diff --git a/Tanay/CPP/C++Do_While_Loop.txt b/Tanay/CPP/C++Do_While_Loop.txt new file mode 100644 index 000000000..88fc2b00f --- /dev/null +++ b/Tanay/CPP/C++Do_While_Loop.txt @@ -0,0 +1,19 @@ +C++ Do/While Loop +The Do/While Loop +The do/while loop is a variant of the while loop. This loop will execute the code block once, before checking if the condition is true, then it will repeat the loop as long as the condition is true. + +Syntax +do { + // code block to be executed +} +while (condition); +The example below uses a do/while loop. The loop will always be executed at least once, even if the condition is false, because the code block is executed before the condition is tested: + +Example +int i = 0; +do { + cout << i << "\n"; + i++; +} +while (i < 5); +Do not forget to increase the variable used in the condition, otherwise the loop will never end! From 0ed1618709f2a0294c282d44605d30475acd037c Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 10 May 2021 00:01:38 +0530 Subject: [PATCH 006/120] Create C++_For_Loop.txt --- Tanay/CPP/C++_For_Loop.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Tanay/CPP/C++_For_Loop.txt diff --git a/Tanay/CPP/C++_For_Loop.txt b/Tanay/CPP/C++_For_Loop.txt new file mode 100644 index 000000000..c47e4aa5c --- /dev/null +++ b/Tanay/CPP/C++_For_Loop.txt @@ -0,0 +1,34 @@ +C++ For Loop +C++ For Loop +When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop: + +Syntax +for (statement 1; statement 2; statement 3) { + // code block to be executed +} +Statement 1 is executed (one time) before the execution of the code block. + +Statement 2 defines the condition for executing the code block. + +Statement 3 is executed (every time) after the code block has been executed. + +The example below will print the numbers 0 to 4: + +Example +for (int i = 0; i < 5; i++) { + cout << i << "\n"; +} +Example explained +Statement 1 sets a variable before the loop starts (int i = 0). + +Statement 2 defines the condition for the loop to run (i must be less than 5). If the condition is true, the loop will start over again, if it is false, the loop will end. + +Statement 3 increases a value (i++) each time the code block in the loop has been executed. + +Another Example +This example will only print even values between 0 and 10: + +Example +for (int i = 0; i <= 10; i = i + 2) { + cout << i << "\n"; +} From 0d5e4597399852d33b6e316c979e0327c5413db6 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 11 May 2021 16:29:32 +0530 Subject: [PATCH 007/120] Create C++_Break_and_Continue.txt --- Tanay/CPP/C++_Break_and_Continue.txt | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Tanay/CPP/C++_Break_and_Continue.txt diff --git a/Tanay/CPP/C++_Break_and_Continue.txt b/Tanay/CPP/C++_Break_and_Continue.txt new file mode 100644 index 000000000..f674b40b1 --- /dev/null +++ b/Tanay/CPP/C++_Break_and_Continue.txt @@ -0,0 +1,50 @@ +C++ Break and Continue +C++ Break +You have already seen the break statement used in an earlier chapter of this tutorial. It was used to "jump out" of a switch statement. + +The break statement can also be used to jump out of a loop. + +This example jumps out of the loop when i is equal to 4: + +Example +for (int i = 0; i < 10; i++) { + if (i == 4) { + break; + } + cout << i << "\n"; +} +C++ Continue +The continue statement breaks one iteration (in the loop), if a specified condition occurs, and continues with the next iteration in the loop. + +This example skips the value of 4: + +Example +for (int i = 0; i < 10; i++) { + if (i == 4) { + continue; + } + cout << i << "\n"; +} + +Break and Continue in While Loop +You can also use break and continue in while loops: + +Break Example +int i = 0; +while (i < 10) { + cout << i << "\n"; + i++; + if (i == 4) { + break; + } +} +Continue Example +int i = 0; +while (i < 10) { + if (i == 4) { + i++; + continue; + } + cout << i << "\n"; + i++; +} From 99aa0e5667d05f1834ea77a82803f6c414674375 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 12 May 2021 14:23:50 +0530 Subject: [PATCH 008/120] Create C++ Arrays --- Tanay/CPP/C++ Arrays | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Tanay/CPP/C++ Arrays diff --git a/Tanay/CPP/C++ Arrays b/Tanay/CPP/C++ Arrays new file mode 100644 index 000000000..1bb6ace00 --- /dev/null +++ b/Tanay/CPP/C++ Arrays @@ -0,0 +1,33 @@ +C++ Arrays +Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value. + +To declare an array, define the variable type, specify the name of the array followed by square brackets and specify the number of elements it should store: + +string cars[4]; +We have now declared a variable that holds an array of four strings. To insert values to it, we can use an array literal - place the values in a comma-separated list, inside curly braces: + +string cars[4] = {"Volvo", "BMW", "Ford", "Mazda"}; +To create an array of three integers, you could write: + +int myNum[3] = {10, 20, 30}; +Access the Elements of an Array +You access an array element by referring to the index number. + +This statement accesses the value of the first element in cars: + +Example +string cars[4] = {"Volvo", "BMW", "Ford", "Mazda"}; +cout << cars[0]; +// Outputs Volvo +Note: Array indexes start with 0: [0] is the first element. [1] is the second element, etc. + +Change an Array Element +To change the value of a specific element, refer to the index number: + +Example +cars[0] = "Opel"; +Example +string cars[4] = {"Volvo", "BMW", "Ford", "Mazda"}; +cars[0] = "Opel"; +cout << cars[0]; +// Now outputs Opel instead of Volvo From 41170f00789f33287e29085022a9bacd88f509d1 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 13 May 2021 12:06:42 +0530 Subject: [PATCH 009/120] Create C++_References.txt --- Tanay/CPP/C++_References.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Tanay/CPP/C++_References.txt diff --git a/Tanay/CPP/C++_References.txt b/Tanay/CPP/C++_References.txt new file mode 100644 index 000000000..ceb6ce8a1 --- /dev/null +++ b/Tanay/CPP/C++_References.txt @@ -0,0 +1,14 @@ +C++ References +Creating References +A reference variable is a "reference" to an existing variable, and it is created with the & operator: + +string food = "Pizza"; // food variable +string &meal = food; // reference to food +Now, we can use either the variable name food or the reference name meal to refer to the food variable: + +Example +string food = "Pizza"; +string &meal = food; + +cout << food << "\n"; // Outputs Pizza +cout << meal << "\n"; // Outputs Pizza From d0a61e883efed425a7bc8a6f571f89f8761a8dd8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 14 May 2021 15:49:27 +0530 Subject: [PATCH 010/120] Create C++_Pointers.txt --- Tanay/CPP/C++_Pointers.txt | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Tanay/CPP/C++_Pointers.txt diff --git a/Tanay/CPP/C++_Pointers.txt b/Tanay/CPP/C++_Pointers.txt new file mode 100644 index 000000000..6ddb92ed1 --- /dev/null +++ b/Tanay/CPP/C++_Pointers.txt @@ -0,0 +1,38 @@ +C++ Pointers +C++ Pointers +Creating Pointers +You learned from the previous chapter, that we can get the memory address of a variable by using the & operator: + +Example +string food = "Pizza"; // A food variable of type string + +cout << food; // Outputs the value of food (Pizza) +cout << &food; // Outputs the memory address of food (0x6dfed4) +A pointer however, is a variable that stores the memory address as its value. + +A pointer variable points to a data type (like int or string) of the same type, and is created with the * operator. The address of the variable you're working with is assigned to the pointer: + +Example +string food = "Pizza"; // A food variable of type string +string* ptr = &food; // A pointer variable, with the name ptr, that stores the address of food + +// Output the value of food (Pizza) +cout << food << "\n"; + +// Output the memory address of food (0x6dfed4) +cout << &food << "\n"; + +// Output the memory address of food with the pointer (0x6dfed4) +cout << ptr << "\n"; +Example explained +Create a pointer variable with the name ptr, that points to a string variable, by using the asterisk sign * (string* ptr). Note that the type of the pointer has to match the type of the variable you're working with. + +Use the & operator to store the memory address of the variable called food, and assign it to the pointer. + +Now, ptr holds the value of food's memory address. + +Tip: There are three ways to declare pointer variables, but the first way is preferred: + +string* mystring; // Preferred +string *mystring; +string * mystring; From d8ca5e4d2778d50b842c5e2a1b53b952910a4d56 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 15 May 2021 23:11:56 +0530 Subject: [PATCH 011/120] Create C++_Functions.txt --- Tanay/CPP/C++_Functions.txt | 97 +++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Tanay/CPP/C++_Functions.txt diff --git a/Tanay/CPP/C++_Functions.txt b/Tanay/CPP/C++_Functions.txt new file mode 100644 index 000000000..0689c401d --- /dev/null +++ b/Tanay/CPP/C++_Functions.txt @@ -0,0 +1,97 @@ +C++ Functions +A function is a block of code which only runs when it is called. + +You can pass data, known as parameters, into a function. + +Functions are used to perform certain actions, and they are important for reusing code: Define the code once, and use it many times. + +Create a Function +C++ provides some pre-defined functions, such as main(), which is used to execute code. But you can also create your own functions to perform certain actions. + +To create (often referred to as declare) a function, specify the name of the function, followed by parentheses (): + +Syntax +void myFunction() { + // code to be executed +} +Example Explained +myFunction() is the name of the function +void means that the function does not have a return value. You will learn more about return values later in the next chapter +inside the function (the body), add code that defines what the function should do +Call a Function +Declared functions are not executed immediately. They are "saved for later use", and will be executed later, when they are called. + +To call a function, write the function's name followed by two parentheses () and a semicolon ; + +In the following example, myFunction() is used to print a text (the action), when it is called: + +Example +Inside main, call myFunction(): + +// Create a function +void myFunction() { + cout << "I just got executed!"; +} + +int main() { + myFunction(); // call the function + return 0; +} + +// Outputs "I just got executed!" +A function can be called multiple times: + +Example +void myFunction() { + cout << "I just got executed!\n"; +} + +int main() { + myFunction(); + myFunction(); + myFunction(); + return 0; +} + +// I just got executed! +// I just got executed! +// I just got executed! +Function Declaration and Definition +A C++ function consist of two parts: + +Declaration: the function's name, return type, and parameters (if any) +Definition: the body of the function (code to be executed) +void myFunction() { // declaration + // the body of the function (definition) +} +Note: If a user-defined function, such as myFunction() is declared after the main() function, an error will occur. It is because C++ works from top to bottom; which means that if the function is not declared above main(), the program is unaware of it: + +Example +int main() { + myFunction(); + return 0; +} + +void myFunction() { + cout << "I just got executed!"; +} + +// Error +However, it is possible to separate the declaration and the definition of the function - for code optimization. + +You will often see C++ programs that have function declaration above main(), and function definition below main(). This will make the code better organized and easier to read: + +Example +// Function declaration +void myFunction(); + +// The main method +int main() { + myFunction(); // call the function + return 0; +} + +// Function definition +void myFunction() { + cout << "I just got executed!"; +} From 0eeeee08e81a8d2c8ac8debd7a99ca7ca75b15a6 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 15 May 2021 23:54:21 +0530 Subject: [PATCH 012/120] Create C++_Function_Parameters.txt --- Tanay/CPP/C++_Function_Parameters.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Tanay/CPP/C++_Function_Parameters.txt diff --git a/Tanay/CPP/C++_Function_Parameters.txt b/Tanay/CPP/C++_Function_Parameters.txt new file mode 100644 index 000000000..ef7358df8 --- /dev/null +++ b/Tanay/CPP/C++_Function_Parameters.txt @@ -0,0 +1,27 @@ +C++ Function Parameters +Parameters and Arguments +Information can be passed to functions as a parameter. Parameters act as variables inside the function. + +Parameters are specified after the function name, inside the parentheses. You can add as many parameters as you want, just separate them with a comma: + +Syntax +void functionName(parameter1, parameter2, parameter3) { + // code to be executed +} +The following example has a function that takes a string called fname as parameter. When the function is called, we pass along a first name, which is used inside the function to print the full name: + +Example +void myFunction(string fname) { + cout << fname << " Refsnes\n"; +} + +int main() { + myFunction("Liam"); + myFunction("Jenny"); + myFunction("Anja"); + return 0; +} + +// Liam Refsnes +// Jenny Refsnes +// Anja Refsnes From e948ae097ee61f75406be277bdccce75859a748d Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 16 May 2021 00:00:21 +0530 Subject: [PATCH 013/120] Update C++_Function_Parameters.txt --- Tanay/CPP/C++_Function_Parameters.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++_Function_Parameters.txt b/Tanay/CPP/C++_Function_Parameters.txt index ef7358df8..75d639e2b 100644 --- a/Tanay/CPP/C++_Function_Parameters.txt +++ b/Tanay/CPP/C++_Function_Parameters.txt @@ -1,3 +1,4 @@ + C++ Function Parameters Parameters and Arguments Information can be passed to functions as a parameter. Parameters act as variables inside the function. From eddddbf0f4413ca86eefed8669d3263b38763d04 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 17 May 2021 03:23:31 +0530 Subject: [PATCH 014/120] Create C++Function_Overloading.txt --- Tanay/C++Function_Overloading.txt | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Tanay/C++Function_Overloading.txt diff --git a/Tanay/C++Function_Overloading.txt b/Tanay/C++Function_Overloading.txt new file mode 100644 index 000000000..6ee959c09 --- /dev/null +++ b/Tanay/C++Function_Overloading.txt @@ -0,0 +1,46 @@ +C++ Function Overloading +Function Overloading +With function overloading, multiple functions can have the same name with different parameters: + +Example +int myFunction(int x) +float myFunction(float x) +double myFunction(double x, double y) +Consider the following example, which have two functions that add numbers of different type: + +Example +int plusFuncInt(int x, int y) { + return x + y; +} + +double plusFuncDouble(double x, double y) { + return x + y; +} + +int main() { + int myNum1 = plusFuncInt(8, 5); + double myNum2 = plusFuncDouble(4.3, 6.26); + cout << "Int: " << myNum1 << "\n"; + cout << "Double: " << myNum2; + return 0; +} +Instead of defining two functions that should do the same thing, it is better to overload one. + +In the example below, we overload the plusFunc function to work for both int and double: + +Example +int plusFunc(int x, int y) { + return x + y; +} + +double plusFunc(double x, double y) { + return x + y; +} + +int main() { + int myNum1 = plusFunc(8, 5); + double myNum2 = plusFunc(4.3, 6.26); + cout << "Int: " << myNum1 << "\n"; + cout << "Double: " << myNum2; + return 0; +} From fae2f1b71c70cb95570401e535c2355be9c395f3 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 18 May 2021 09:21:11 +0530 Subject: [PATCH 015/120] Create C++_OOP.txt --- Tanay/CPP/C++_OOP.txt | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Tanay/CPP/C++_OOP.txt diff --git a/Tanay/CPP/C++_OOP.txt b/Tanay/CPP/C++_OOP.txt new file mode 100644 index 000000000..d5744c9a1 --- /dev/null +++ b/Tanay/CPP/C++_OOP.txt @@ -0,0 +1,45 @@ +C++ What is OOP? +OOP stands for Object-Oriented Programming. + +Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions. + +Object-oriented programming has several advantages over procedural programming: + +OOP is faster and easier to execute +OOP provides a clear structure for the programs +OOP helps to keep the C++ code DRY "Don't Repeat Yourself", and makes the code easier to maintain, modify and debug +OOP makes it possible to create full reusable applications with less code and shorter development time +Tip: The "Don't Repeat Yourself" (DRY) principle is about reducing the repetition of code. You should extract out the codes that are common for the application, and place them at a single place and reuse them instead of repeating it. + +C++ What are Classes and Objects? +Classes and objects are the two main aspects of object-oriented programming. + +Look at the following illustration to see the difference between class and objects: + +class +Fruit + +objects +Apple + +Banana + +Mango + +Another example: + +class +Car + +objects +Volvo + +Audi + +Toyota + +So, a class is a template for objects, and an object is an instance of a class. + +When the individual objects are created, they inherit all the variables and functions from the class. + +You will learn much more about classes and objects in the next chapter. From 58835d53ed072bb9aa1df0977877fa83df74bd00 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 18 May 2021 09:56:26 +0530 Subject: [PATCH 016/120] Update and rename C++ Arrays to C++Arrays.txt --- Tanay/CPP/{C++ Arrays => C++Arrays.txt} | 1 + 1 file changed, 1 insertion(+) rename Tanay/CPP/{C++ Arrays => C++Arrays.txt} (99%) diff --git a/Tanay/CPP/C++ Arrays b/Tanay/CPP/C++Arrays.txt similarity index 99% rename from Tanay/CPP/C++ Arrays rename to Tanay/CPP/C++Arrays.txt index 1bb6ace00..508d4443a 100644 --- a/Tanay/CPP/C++ Arrays +++ b/Tanay/CPP/C++Arrays.txt @@ -1,3 +1,4 @@ + C++ Arrays Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value. From 46d33842feaf65a82edd50960d80328eeb24459a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 19 May 2021 02:15:08 +0530 Subject: [PATCH 017/120] Create C++_Classes_and_Objects.txt --- Tanay/CPP/C++_Classes_and_Objects.txt | 84 +++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Tanay/CPP/C++_Classes_and_Objects.txt diff --git a/Tanay/CPP/C++_Classes_and_Objects.txt b/Tanay/CPP/C++_Classes_and_Objects.txt new file mode 100644 index 000000000..c518e1c9c --- /dev/null +++ b/Tanay/CPP/C++_Classes_and_Objects.txt @@ -0,0 +1,84 @@ +C++ Classes and Objects +C++ Classes/Objects +C++ is an object-oriented programming language. + +Everything in C++ is associated with classes and objects, along with its attributes and methods. For example: in real life, a car is an object. The car has attributes, such as weight and color, and methods, such as drive and brake. + +Attributes and methods are basically variables and functions that belongs to the class. These are often referred to as "class members". + +A class is a user-defined data type that we can use in our program, and it works as an object constructor, or a "blueprint" for creating objects. + +Create a Class +To create a class, use the class keyword: + +Example +Create a class called "MyClass": + +class MyClass { // The class + public: // Access specifier + int myNum; // Attribute (int variable) + string myString; // Attribute (string variable) +}; +Example explained +The class keyword is used to create a class called MyClass. +The public keyword is an access specifier, which specifies that members (attributes and methods) of the class are accessible from outside the class. You will learn more about access specifiers later. +Inside the class, there is an integer variable myNum and a string variable myString. When variables are declared within a class, they are called attributes. +At last, end the class definition with a semicolon ;. +Create an Object +In C++, an object is created from a class. We have already created the class named MyClass, so now we can use this to create objects. + +To create an object of MyClass, specify the class name, followed by the object name. + +To access the class attributes (myNum and myString), use the dot syntax (.) on the object: + +Example +Create an object called "myObj" and access the attributes: + +class MyClass { // The class + public: // Access specifier + int myNum; // Attribute (int variable) + string myString; // Attribute (string variable) +}; + +int main() { + MyClass myObj; // Create an object of MyClass + + // Access attributes and set values + myObj.myNum = 15; + myObj.myString = "Some text"; + + // Print attribute values + cout << myObj.myNum << "\n"; + cout << myObj.myString; + return 0; +} +Multiple Objects +You can create multiple objects of one class: + +Example +// Create a Car class with some attributes +class Car { + public: + string brand; + string model; + int year; +}; + +int main() { + // Create an object of Car + Car carObj1; + carObj1.brand = "BMW"; + carObj1.model = "X5"; + carObj1.year = 1999; + + // Create another object of Car + Car carObj2; + carObj2.brand = "Ford"; + carObj2.model = "Mustang"; + carObj2.year = 1969; + + // Print attribute values + cout << carObj1.brand << " " << carObj1.model << " " << carObj1.year << "\n"; + cout << carObj2.brand << " " << carObj2.model << " " << carObj2.year << "\n"; + return 0; +} From 0237d4617b7576e61f9ba452b02c997f17942648 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 20 May 2021 00:24:34 +0530 Subject: [PATCH 018/120] Create C++_Class_Methods.txt --- Tanay/CPP/C++_Class_Methods.txt | 63 +++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Tanay/CPP/C++_Class_Methods.txt diff --git a/Tanay/CPP/C++_Class_Methods.txt b/Tanay/CPP/C++_Class_Methods.txt new file mode 100644 index 000000000..a750658e6 --- /dev/null +++ b/Tanay/CPP/C++_Class_Methods.txt @@ -0,0 +1,63 @@ +Class Methods +Methods are functions that belongs to the class. + +There are two ways to define functions that belongs to a class: + +Inside class definition +Outside class definition +In the following example, we define a function inside the class, and we name it "myMethod". + +Note: You access methods just like you access attributes; by creating an object of the class and using the dot syntax (.): + +Inside Example +class MyClass { // The class + public: // Access specifier + void myMethod() { // Method/function defined inside the class + cout << "Hello World!"; + } +}; + +int main() { + MyClass myObj; // Create an object of MyClass + myObj.myMethod(); // Call the method + return 0; +} +To define a function outside the class definition, you have to declare it inside the class and then define it outside of the class. This is done by specifiying the name of the class, followed the scope resolution :: operator, followed by the name of the function: + +Outside Example +class MyClass { // The class + public: // Access specifier + void myMethod(); // Method/function declaration +}; + +// Method/function definition outside the class +void MyClass::myMethod() { + cout << "Hello World!"; +} + +int main() { + MyClass myObj; // Create an object of MyClass + myObj.myMethod(); // Call the method + return 0; +} +Parameters +You can also add parameters: + + Example +#include +using namespace std; + +class Car { + public: + int speed(int maxSpeed); +}; + +int Car::speed(int maxSpeed) { + return maxSpeed; +} + +int main() { + Car myObj; // Create an object of Car + cout << myObj.speed(200); // Call the method with an argument + return 0; +} From 0094028eb507f0f51113cc0aba85c4b9e6dd71af Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 21 May 2021 00:51:23 +0530 Subject: [PATCH 019/120] Create C++_Constructors.txt --- Tanay/CPP/C++_Constructors.txt | 76 ++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 Tanay/CPP/C++_Constructors.txt diff --git a/Tanay/CPP/C++_Constructors.txt b/Tanay/CPP/C++_Constructors.txt new file mode 100644 index 000000000..28ab50c9c --- /dev/null +++ b/Tanay/CPP/C++_Constructors.txt @@ -0,0 +1,76 @@ +C++ Constructors +Constructors +A constructor in C++ is a special method that is automatically called when an object of a class is created. + +To create a constructor, use the same name as the class, followed by parentheses (): + +Example +class MyClass { // The class + public: // Access specifier + MyClass() { // Constructor + cout << "Hello World!"; + } +}; + +int main() { + MyClass myObj; // Create an object of MyClass (this will call the constructor) + return 0; +} +Note: The constructor has the same name as the class, it is always public, and it does not have any return value. + +Constructor Parameters +Constructors can also take parameters (just like regular functions), which can be useful for setting initial values for attributes. + +The following class have brand, model and year attributes, and a constructor with different parameters. Inside the constructor we set the attributes equal to the constructor parameters (brand=x, etc). When we call the constructor (by creating an object of the class), we pass parameters to the constructor, which will set the value of the corresponding attributes to the same: + +Example +class Car { // The class + public: // Access specifier + string brand; // Attribute + string model; // Attribute + int year; // Attribute + Car(string x, string y, int z) { // Constructor with parameters + brand = x; + model = y; + year = z; + } +}; + +int main() { + // Create Car objects and call the constructor with different values + Car carObj1("BMW", "X5", 1999); + Car carObj2("Ford", "Mustang", 1969); + + // Print values + cout << carObj1.brand << " " << carObj1.model << " " << carObj1.year << "\n"; + cout << carObj2.brand << " " << carObj2.model << " " << carObj2.year << "\n"; + return 0; +} +Just like functions, constructors can also be defined outside the class. First, declare the constructor inside the class, and then define it outside of the class by specifying the name of the class, followed by the scope resolution :: operator, followed by the name of the constructor (which is the same as the class): + +Example +class Car { // The class + public: // Access specifier + string brand; // Attribute + string model; // Attribute + int year; // Attribute + Car(string x, string y, int z); // Constructor declaration +}; + +// Constructor definition outside the class +Car::Car(string x, string y, int z) { + brand = x; + model = y; + year = z; +} + +int main() { + // Create Car objects and call the constructor with different values + Car carObj1("BMW", "X5", 1999); + Car carObj2("Ford", "Mustang", 1969); + + // Print values + cout << carObj1.brand << " " << carObj1.model << " " << carObj1.year << "\n"; + cout << carObj2.brand << " " << carObj2.model << " " << carObj2.year << "\n"; + return 0; +} From 4f8d4e1be8a2ee439acc29f1d5de166e02d8074b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 22 May 2021 03:07:16 +0530 Subject: [PATCH 020/120] Create C++_Access_Specifiers.txt --- Tanay/CPP/C++_Access_Specifiers.txt | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Tanay/CPP/C++_Access_Specifiers.txt diff --git a/Tanay/CPP/C++_Access_Specifiers.txt b/Tanay/CPP/C++_Access_Specifiers.txt new file mode 100644 index 000000000..cf108c00f --- /dev/null +++ b/Tanay/CPP/C++_Access_Specifiers.txt @@ -0,0 +1,48 @@ +C++ Access Specifiers +Access Specifiers +By now, you are quite familiar with the public keyword that appears in all of our class examples: + +Example +class MyClass { // The class + public: // Access specifier + // class members goes here +}; +The public keyword is an access specifier. Access specifiers define how the members (attributes and methods) of a class can be accessed. In the example above, the members are public - which means that they can be accessed and modified from outside the code. + +However, what if we want members to be private and hidden from the outside world? + +In C++, there are three access specifiers: + +public - members are accessible from outside the class +private - members cannot be accessed (or viewed) from outside the class +protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes. You will learn more about Inheritance later. +In the following example, we demonstrate the differences between public and private members: + +Example +class MyClass { + public: // Public access specifier + int x; // Public attribute + private: // Private access specifier + int y; // Private attribute +}; + +int main() { + MyClass myObj; + myObj.x = 25; // Allowed (public) + myObj.y = 50; // Not allowed (private) + return 0; +} +If you try to access a private member, an error occurs: + +error: y is private +Note: It is possible to access private members of a class using a public method inside the same class. See the next chapter (Encapsulation) on how to do this. + +Tip: It is considered good practice to declare your class attributes as private (as often as you can). This will reduce the possibility of yourself (or others) to mess up the code. This is also the main ingredient of the Encapsulation concept, which you will learn more about in the next chapter. + +Note: By default, all members of a class are private if you don't specify an access specifier: + +Example +class MyClass { + int x; // Private attribute + int y; // Private attribute +}; From ef3cc601448a133450d3ed1e57cb5e4ac4664d19 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 23 May 2021 01:31:59 +0530 Subject: [PATCH 021/120] Create C++_Encapsulation.txt --- Tanay/CPP/C++_Encapsulation.txt | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Tanay/CPP/C++_Encapsulation.txt diff --git a/Tanay/CPP/C++_Encapsulation.txt b/Tanay/CPP/C++_Encapsulation.txt new file mode 100644 index 000000000..278b28eb5 --- /dev/null +++ b/Tanay/CPP/C++_Encapsulation.txt @@ -0,0 +1,44 @@ +Encapsulation +The meaning of Encapsulation, is to make sure that "sensitive" data is hidden from users. To achieve this, you must declare class variables/attributes as private (cannot be accessed from outside the class). If you want others to read or modify the value of a private member, you can provide public get and set methods. + +Access Private Members +To access a private attribute, use public "get" and "set" methods: + +Example +#include +using namespace std; + +class Employee { + private: + // Private attribute + int salary; + + public: + // Setter + void setSalary(int s) { + salary = s; + } + // Getter + int getSalary() { + return salary; + } +}; + +int main() { + Employee myObj; + myObj.setSalary(50000); + cout << myObj.getSalary(); + return 0; +} +Example explained +The salary attribute is private, which have restricted access. + +The public setSalary() method takes a parameter (s) and assigns it to the salary attribute (salary = s). + +The public getSalary() method returns the value of the private salary attribute. + +Inside main(), we create an object of the Employee class. Now we can use the setSalary() method to set the value of the private attribute to 50000. Then we call the getSalary() method on the object to return the value. + +Why Encapsulation? +It is considered good practice to declare your class attributes as private (as often as you can). Encapsulation ensures better control of your data, because you (or others) can change one part of the code without affecting other parts +Increased security of data From 70d43a1da71ef58c56f0d817ab52281e5d807259 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 24 May 2021 03:34:46 +0530 Subject: [PATCH 022/120] Create C++_Inheritance.txt --- Tanay/CPP/C++_Inheritance.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Tanay/CPP/C++_Inheritance.txt diff --git a/Tanay/CPP/C++_Inheritance.txt b/Tanay/CPP/C++_Inheritance.txt new file mode 100644 index 000000000..d9bcedc72 --- /dev/null +++ b/Tanay/CPP/C++_Inheritance.txt @@ -0,0 +1,33 @@ +Inheritance +In C++, it is possible to inherit attributes and methods from one class to another. We group the "inheritance concept" into two categories: + +derived class (child) - the class that inherits from another class +base class (parent) - the class being inherited from +To inherit from a class, use the : symbol. + +In the example below, the Car class (child) inherits the attributes and methods from the Vehicle class (parent): + +Example +// Base class +class Vehicle { + public: + string brand = "Ford"; + void honk() { + cout << "Tuut, tuut! \n" ; + } +}; + +// Derived class +class Car: public Vehicle { + public: + string model = "Mustang"; +}; + +int main() { + Car myCar; + myCar.honk(); + cout << myCar.brand + " " + myCar.model; + return 0; +} +Why And When To Use "Inheritance"? +- It is useful for code reusability: reuse attributes and methods of an existing class when you create a new class. From 9d0944a489316212fd9d3ce8f295543457fb9d64 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 25 May 2021 13:20:27 +0530 Subject: [PATCH 023/120] Create C++_Polymorphism.txt --- Tanay/CPP/C++_Polymorphism.txt | 71 ++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 Tanay/CPP/C++_Polymorphism.txt diff --git a/Tanay/CPP/C++_Polymorphism.txt b/Tanay/CPP/C++_Polymorphism.txt new file mode 100644 index 000000000..8aa9de1ef --- /dev/null +++ b/Tanay/CPP/C++_Polymorphism.txt @@ -0,0 +1,71 @@ +C++ Polymorphism +Polymorphism +Polymorphism means "many forms", and it occurs when we have many classes that are related to each other by inheritance. + +Like we specified in the previous chapter; Inheritance lets us inherit attributes and methods from another class. Polymorphism uses those methods to perform different tasks. This allows us to perform a single action in different ways. + +For example, think of a base class called Animal that has a method called animalSound(). Derived classes of Animals could be Pigs, Cats, Dogs, Birds - And they also have their own implementation of an animal sound (the pig oinks, and the cat meows, etc.): + +Example +// Base class +class Animal { + public: + void animalSound() { + cout << "The animal makes a sound \n" ; + } +}; + +// Derived class +class Pig : public Animal { + public: + void animalSound() { + cout << "The pig says: wee wee \n" ; + } +}; + +// Derived class +class Dog : public Animal { + public: + void animalSound() { + cout << "The dog says: bow wow \n" ; + } +}; +Remember from the Inheritance chapter that we use the : symbol to inherit from a class. + +Now we can create Pig and Dog objects and override the animalSound() method: + +Example +// Base class +class Animal { + public: + void animalSound() { + cout << "The animal makes a sound \n" ; + } +}; + +// Derived class +class Pig : public Animal { + public: + void animalSound() { + cout << "The pig says: wee wee \n" ; + } +}; + +// Derived class +class Dog : public Animal { + public: + void animalSound() { + cout << "The dog says: bow wow \n" ; + } +}; + +int main() { + Animal myAnimal; + Pig myPig; + Dog myDog; + + myAnimal.animalSound(); + myPig.animalSound(); + myDog.animalSound(); + return 0; +} From 300e531ced179b4745ce72e508e6de123a944d00 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 26 May 2021 11:03:33 +0530 Subject: [PATCH 024/120] Create C++_Files.txt --- Tanay/CPP/C++_Files.txt | 57 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Tanay/CPP/C++_Files.txt diff --git a/Tanay/CPP/C++_Files.txt b/Tanay/CPP/C++_Files.txt new file mode 100644 index 000000000..50d844fe2 --- /dev/null +++ b/Tanay/CPP/C++_Files.txt @@ -0,0 +1,57 @@ +C++ Files +The fstream library allows us to work with files. + +To use the fstream library, include both the standard AND the header file: + +Example +#include +#include +There are three classes included in the fstream library, which are used to create, write or read files: + +Class Description +ofstream Creates and writes to files +ifstream Reads from files +fstream A combination of ofstream and ifstream: creates, reads, and writes to files +Create and Write To a File +To create a file, use either the ofstream or fstream class, and specify the name of the file. + +To write to the file, use the insertion operator (<<). + +Example +#include +#include +using namespace std; + +int main() { + // Create and open a text file + ofstream MyFile("filename.txt"); + + // Write to the file + MyFile << "Files can be tricky, but it is fun enough!"; + + // Close the file + MyFile.close(); +} +Why do we close the file? +It is considered good practice, and it can clean up unnecessary memory space. + +Read a File +To read from a file, use either the ifstream or fstream class, and the name of the file. + +Note that we also use a while loop together with the getline() function (which belongs to the ifstream class) to read the file line by line, and to print the content of the file: + +Example +// Create a text string, which is used to output the text file +string myText; + +// Read from the text file +ifstream MyReadFile("filename.txt"); + +// Use a while loop together with the getline() function to read the file line by line +while (getline (MyReadFile, myText)) { + // Output the text from the file + cout << myText; +} + +// Close the file +MyReadFile.close(); From 51a33fb4cf8eee75bb26bd07f243943e7a1dfe33 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 00:10:53 +0530 Subject: [PATCH 025/120] Create C++_Exceptions.txt --- Tanay/CPP/C++_Exceptions.txt | 78 ++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Tanay/CPP/C++_Exceptions.txt diff --git a/Tanay/CPP/C++_Exceptions.txt b/Tanay/CPP/C++_Exceptions.txt new file mode 100644 index 000000000..3f893aabf --- /dev/null +++ b/Tanay/CPP/C++_Exceptions.txt @@ -0,0 +1,78 @@ +C++ Exceptions +When executing C++ code, different errors can occur: coding errors made by the programmer, errors due to wrong input, or other unforeseeable things. + +When an error occurs, C++ will normally stop and generate an error message. The technical term for this is: C++ will throw an exception (throw an error). + +C++ try and catch +Exception handling in C++ consist of three keywords: try, throw and catch: + +The try statement allows you to define a block of code to be tested for errors while it is being executed. + +The throw keyword throws an exception when a problem is detected, which lets us create a custom error. + +The catch statement allows you to define a block of code to be executed, if an error occurs in the try block. + +The try and catch keywords come in pairs: + +Example +try { + // Block of code to try + throw exception; // Throw an exception when a problem arise +} +catch () { + // Block of code to handle errors +} +Consider the following example: + +Example +try { + int age = 15; + if (age >= 18) { + cout << "Access granted - you are old enough."; + } else { + throw (age); + } +} +catch (int myNum) { + cout << "Access denied - You must be at least 18 years old.\n"; + cout << "Age is: " << myNum; +} +Example explained +We use the try block to test some code: If the age variable is less than 18, we will throw an exception, and handle it in our catch block. + +In the catch block, we catch the error and do something about it. The catch statement takes a parameter: in our example we use an int variable (myNum) (because we are throwing an exception of int type in the try block (age)), to output the value of age. + +If no error occurs (e.g. if age is 20 instead of 15, meaning it will be be greater than 18), the catch block is skipped: + +Example +int age = 20; +You can also use the throw keyword to output a reference number, like a custom error number/code for organizing purposes: + +Example +try { + int age = 15; + if (age >= 18) { + cout << "Access granted - you are old enough."; + } else { + throw 505; + } +} +catch (int myNum) { + cout << "Access denied - You must be at least 18 years old.\n"; + cout << "Error number: " << myNum; +} +Handle Any Type of Exceptions (...) +If you do not know the throw type used in the try block, you can use the "three dots" syntax (...) inside the catch block, which will handle any type of exception: + +Example +try { + int age = 15; + if (age >= 18) { + cout << "Access granted - you are old enough."; + } else { + throw 505; + } +} +catch (...) { + cout << "Access denied - You must be at least 18 years old.\n"; +} From 184b43cca825b414a73bc3e689e8a76f76cd34a9 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:39:15 +0530 Subject: [PATCH 026/120] Update C++ Booleans --- Tanay/CPP/C++ Booleans | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++ Booleans b/Tanay/CPP/C++ Booleans index f22a66119..586889d4c 100644 --- a/Tanay/CPP/C++ Booleans +++ b/Tanay/CPP/C++ Booleans @@ -1,3 +1,4 @@ + C++ Booleans Very often, in programming, you will need a data type that can only have one of two values, like: From 623acaafd1a55a04c8021976f6398c46e5df44ee Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:39:37 +0530 Subject: [PATCH 027/120] Update C++ Declare Multiple Variables.txt --- Tanay/CPP/C++ Declare Multiple Variables.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++ Declare Multiple Variables.txt b/Tanay/CPP/C++ Declare Multiple Variables.txt index b935c34e5..5d258284e 100644 --- a/Tanay/CPP/C++ Declare Multiple Variables.txt +++ b/Tanay/CPP/C++ Declare Multiple Variables.txt @@ -1,3 +1,4 @@ + C++ Declare Multiple Variables Declare Many Variables To declare more than one variable of the same type, use a comma-separated list: From 4cd68110bf1ab15345964b443dd29ff3936b9fed Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:39:47 +0530 Subject: [PATCH 028/120] Update C++ Else If.txt --- Tanay/CPP/C++ Else If.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++ Else If.txt b/Tanay/CPP/C++ Else If.txt index b4848f461..278707a5c 100644 --- a/Tanay/CPP/C++ Else If.txt +++ b/Tanay/CPP/C++ Else If.txt @@ -1,3 +1,4 @@ + The else if Statement Use the else if statement to specify a new condition if the first condition is false. From 2f174eb8831d0a287d46c1c311287dcb32260dfa Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:40:01 +0530 Subject: [PATCH 029/120] Update C++ If ... Else.txt --- Tanay/CPP/C++ If ... Else.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++ If ... Else.txt b/Tanay/CPP/C++ If ... Else.txt index 5d3177b3d..830cbcc50 100644 --- a/Tanay/CPP/C++ If ... Else.txt +++ b/Tanay/CPP/C++ If ... Else.txt @@ -1,3 +1,4 @@ + C++ If ... Else C++ Conditions and If Statements C++ supports the usual logical conditions from mathematics: From eb07cff737066cd32fbee24002bef5f4b85b8603 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:40:15 +0530 Subject: [PATCH 030/120] Update C++ Output (Print Text) --- Tanay/CPP/C++ Output (Print Text) | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++ Output (Print Text) b/Tanay/CPP/C++ Output (Print Text) index 6beeccf59..a97493abd 100644 --- a/Tanay/CPP/C++ Output (Print Text) +++ b/Tanay/CPP/C++ Output (Print Text) @@ -1,3 +1,4 @@ + C++ Output (Print Text) C++ Output (Print Text) The cout object, together with the << operator, is used to output values/print text: From 0912df3ee650933b785ca0a37319d4ad69c37216 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:40:30 +0530 Subject: [PATCH 031/120] Update C++ Syntax.cpp --- Tanay/CPP/C++ Syntax.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++ Syntax.cpp b/Tanay/CPP/C++ Syntax.cpp index 7d2219ea0..14b3c58b2 100644 --- a/Tanay/CPP/C++ Syntax.cpp +++ b/Tanay/CPP/C++ Syntax.cpp @@ -1,3 +1,4 @@ + ### C++ Syntax et's break up the following code to understand it better: From 5df98a0bbf827e243f20e0a1a10aac44dd672fcd Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:41:10 +0530 Subject: [PATCH 032/120] Update C++Arrays.txt --- Tanay/CPP/C++Arrays.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tanay/CPP/C++Arrays.txt b/Tanay/CPP/C++Arrays.txt index 508d4443a..1459564da 100644 --- a/Tanay/CPP/C++Arrays.txt +++ b/Tanay/CPP/C++Arrays.txt @@ -1,5 +1,5 @@ -C++ Arrays +C++ Arrays. Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value. To declare an array, define the variable type, specify the name of the array followed by square brackets and specify the number of elements it should store: From 0fc21d35de16d69256b4427301dad69d931a970f Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:41:24 +0530 Subject: [PATCH 033/120] Update C++Do_While_Loop.txt --- Tanay/CPP/C++Do_While_Loop.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++Do_While_Loop.txt b/Tanay/CPP/C++Do_While_Loop.txt index 88fc2b00f..e36444aca 100644 --- a/Tanay/CPP/C++Do_While_Loop.txt +++ b/Tanay/CPP/C++Do_While_Loop.txt @@ -1,3 +1,4 @@ + C++ Do/While Loop The Do/While Loop The do/while loop is a variant of the while loop. This loop will execute the code block once, before checking if the condition is true, then it will repeat the loop as long as the condition is true. From 01c0bfb0c13c05bc829357e09d70dc0a88a08d49 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:41:37 +0530 Subject: [PATCH 034/120] Update C++Logical_Operators,txt --- Tanay/CPP/C++Logical_Operators,txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++Logical_Operators,txt b/Tanay/CPP/C++Logical_Operators,txt index ccc26d7a1..380d886c1 100644 --- a/Tanay/CPP/C++Logical_Operators,txt +++ b/Tanay/CPP/C++Logical_Operators,txt @@ -1,3 +1,4 @@ + C++ Logical Operators Logical Operators Logical operators are used to determine the logic between variables or values: From 2d429cfebb55a4e0d7df049dfa97f63b17263b5e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:41:54 +0530 Subject: [PATCH 035/120] Update C++_Access_Specifiers.txt --- Tanay/CPP/C++_Access_Specifiers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++_Access_Specifiers.txt b/Tanay/CPP/C++_Access_Specifiers.txt index cf108c00f..345229716 100644 --- a/Tanay/CPP/C++_Access_Specifiers.txt +++ b/Tanay/CPP/C++_Access_Specifiers.txt @@ -1,3 +1,4 @@ + C++ Access Specifiers Access Specifiers By now, you are quite familiar with the public keyword that appears in all of our class examples: From 4f041f6f04ed06dc67aa3f2f254dfbe8ab59296a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:42:10 +0530 Subject: [PATCH 036/120] Update C++_Access_Strings.txt --- Tanay/CPP/C++_Access_Strings.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++_Access_Strings.txt b/Tanay/CPP/C++_Access_Strings.txt index 1ef71b14d..ff7c8672e 100644 --- a/Tanay/CPP/C++_Access_Strings.txt +++ b/Tanay/CPP/C++_Access_Strings.txt @@ -1,3 +1,4 @@ + C++ Access Strings Access Strings You can access the characters in a string by referring to its index number inside square brackets []. From e9cfab5ac5d8d7041bae152242e773985aa0eb42 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 27 May 2021 11:42:22 +0530 Subject: [PATCH 037/120] Update C++_Assignment Operators.txt --- Tanay/CPP/C++_Assignment Operators.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++_Assignment Operators.txt b/Tanay/CPP/C++_Assignment Operators.txt index 37e277ef4..e7e7f5b66 100644 --- a/Tanay/CPP/C++_Assignment Operators.txt +++ b/Tanay/CPP/C++_Assignment Operators.txt @@ -1,3 +1,4 @@ + C++ Assignment Operators Assignment Operators Assignment operators are used to assign values to variables. From a241844452e41c2617d13ce88be0ba31ee3b8d97 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 28 May 2021 12:05:59 +0530 Subject: [PATCH 038/120] Create C++ How To Add Two Numbers --- Tanay/CPP/C++ How To Add Two Numbers | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Tanay/CPP/C++ How To Add Two Numbers diff --git a/Tanay/CPP/C++ How To Add Two Numbers b/Tanay/CPP/C++ How To Add Two Numbers new file mode 100644 index 000000000..8c05d0c29 --- /dev/null +++ b/Tanay/CPP/C++ How To Add Two Numbers @@ -0,0 +1,19 @@ +Learn how to add two numbers in C++: + +Example +int x = 5; +int y = 6; +int sum = x + y; +cout << sum; +Add Two Numbers with User Input +In this example, the user must input two numbers. Then we print the sum by calculating (adding) the two numbers: + +Example +int x, y; +int sum; +cout << "Type a number: "; +cin >> x; +cout << "Type another number: "; +cin >> y; +sum = x + y; +cout << "Sum is: " << sum; From 475e5dfa22a1a20ca53b326e2ece3330abc90bd8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 29 May 2021 23:27:10 +0530 Subject: [PATCH 039/120] Create C++_Examples.cpp --- Tanay/CPP/C++_Examples.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Tanay/CPP/C++_Examples.cpp diff --git a/Tanay/CPP/C++_Examples.cpp b/Tanay/CPP/C++_Examples.cpp new file mode 100644 index 000000000..dfa5cd6cc --- /dev/null +++ b/Tanay/CPP/C++_Examples.cpp @@ -0,0 +1,20 @@ +C++ Examples +C++ Syntax +C++ Output/Print +C++ Comments +C++ Variables +C++ User Input +C++ Data Types +C++ Operators +C++ Strings +C++ Math +C++ Booleans +C++ If...Else (Conditions) +C++ Switch +C++ Loops +C++ Arrays +C++ References +C++ Pointers +C++ Files +C++ Functions +C++ Classes/Objects From 7c35f65df68ac0e2afc75994165366d09a3ba2b5 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 29 May 2021 23:33:14 +0530 Subject: [PATCH 040/120] Create C++_Online Compiler.cpp --- Tanay/CPP/C++_Online Compiler.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Tanay/CPP/C++_Online Compiler.cpp diff --git a/Tanay/CPP/C++_Online Compiler.cpp b/Tanay/CPP/C++_Online Compiler.cpp new file mode 100644 index 000000000..18bafcfc5 --- /dev/null +++ b/Tanay/CPP/C++_Online Compiler.cpp @@ -0,0 +1,23 @@ +C++ Compiler (Editor) +With our online C++ compiler, you can edit C++ code, and view the result in your browser. + +#include +using namespace std; + +int main() { + cout << "Hello World!"; + return 0; +} +Hello World! +Click on the "Try it Yourself" button to see how it works. + +C++ Compiler Explained +The window to the left is editable - edit the code and click on the "Run" button to view the result in the right window. + +The icons are explained in the table below: + +Icon Description +Go to www.w3schools.com +Menu button for more options +Change orientation (horizontally or vertically) +Change color theme (dark or light) From 79d315fdf225282263f99914f94d2e4606d153f9 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 30 May 2021 00:00:41 +0530 Subject: [PATCH 041/120] Update C++_Online Compiler.cpp --- Tanay/CPP/C++_Online Compiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++_Online Compiler.cpp b/Tanay/CPP/C++_Online Compiler.cpp index 18bafcfc5..1ec913288 100644 --- a/Tanay/CPP/C++_Online Compiler.cpp +++ b/Tanay/CPP/C++_Online Compiler.cpp @@ -1,3 +1,4 @@ + C++ Compiler (Editor) With our online C++ compiler, you can edit C++ code, and view the result in your browser. From e92043b827893adcb8683c1e3bf14b7a34fb73f8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 31 May 2021 02:23:37 +0530 Subject: [PATCH 042/120] Create C++_Exercises.cpp --- Tanay/CPP/C++_Exercises.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Tanay/CPP/C++_Exercises.cpp diff --git a/Tanay/CPP/C++_Exercises.cpp b/Tanay/CPP/C++_Exercises.cpp new file mode 100644 index 000000000..b341a5d8e --- /dev/null +++ b/Tanay/CPP/C++_Exercises.cpp @@ -0,0 +1,15 @@ +C++ Exercises +You can test your C++ skills with W3Schools' Exercises. + +Exercises +We have gathered a variety of C++ exercises (with answers) for each C++ Chapter. + +Try to solve an exercise by editing some code, or show the answer to see what you've done wrong. + +Count Your Score +You will get 1 point for each correct answer. Your score and total score will always be displayed. + +Start C++ Exercises +Good luck! + + From e9d81562ca80baac1af3a73b919980084012abe5 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 31 May 2021 02:26:38 +0530 Subject: [PATCH 043/120] Update C++_While_Loop.txt --- Tanay/CPP/C++_While_Loop.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++_While_Loop.txt b/Tanay/CPP/C++_While_Loop.txt index 12459c144..ded3a68d3 100644 --- a/Tanay/CPP/C++_While_Loop.txt +++ b/Tanay/CPP/C++_While_Loop.txt @@ -1,3 +1,4 @@ + C++ While Loop C++ Loops Loops can execute a block of code as long as a specified condition is reached. From 6f81a0cb10f3e8e73e0238fc53b01275495e5110 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 31 May 2021 02:27:00 +0530 Subject: [PATCH 044/120] Update C++_Files.txt --- Tanay/CPP/C++_Files.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++_Files.txt b/Tanay/CPP/C++_Files.txt index 50d844fe2..b3e46a670 100644 --- a/Tanay/CPP/C++_Files.txt +++ b/Tanay/CPP/C++_Files.txt @@ -1,3 +1,4 @@ + C++ Files The fstream library allows us to work with files. From 335d2a5421e32d7faaf3c3a97a8b310e3f1a259d Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 1 Jun 2021 13:26:02 +0530 Subject: [PATCH 045/120] Create C++_Quiz.txt --- Tanay/CPP/C++_Quiz.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Tanay/CPP/C++_Quiz.txt diff --git a/Tanay/CPP/C++_Quiz.txt b/Tanay/CPP/C++_Quiz.txt new file mode 100644 index 000000000..4f86fe356 --- /dev/null +++ b/Tanay/CPP/C++_Quiz.txt @@ -0,0 +1,15 @@ +C++ Quiz +You can test your C++ skills with W3Schools' Quiz. + +The Test +The test contains 25 questions and there is no time limit. + +The test is not official, it's just a nice way to see how much you know, or don't know, about C++. + +Count Your Score +You will get 1 point for each correct answer. At the end of the Quiz, your total score will be displayed. Maximum score is 25 points. + +Start the Quiz +Good luck! + + From b3ed4e0975b8ff5a2c4c3962d2822da9ab4c13ee Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 2 Jun 2021 18:11:30 +0530 Subject: [PATCH 046/120] Update readme.md --- Tanay/CPP/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/readme.md b/Tanay/CPP/readme.md index 434c06859..e94505da2 100644 --- a/Tanay/CPP/readme.md +++ b/Tanay/CPP/readme.md @@ -1 +1,2 @@ + This is all about C++ From 2651344bf7d4d04f555869cf9bad318bc8794de8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 3 Jun 2021 10:17:56 +0530 Subject: [PATCH 047/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 37fc9b401..a2b4f8ff9 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,2 +1,3 @@ + Want to Learn Js and Py and improve in C++ From ff398d3af0a85d3a2db504647ff1e0dd4cc874ee Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 3 Jun 2021 20:29:10 +0530 Subject: [PATCH 048/120] Update C++ Else If.txt --- Tanay/CPP/C++ Else If.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/CPP/C++ Else If.txt b/Tanay/CPP/C++ Else If.txt index 278707a5c..9fa69597e 100644 --- a/Tanay/CPP/C++ Else If.txt +++ b/Tanay/CPP/C++ Else If.txt @@ -1,5 +1,6 @@ The else if Statement + Use the else if statement to specify a new condition if the first condition is false. Syntax From ba20984bdb0a1303fb9be09dec3de2e42e630b3b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 4 Jun 2021 09:46:45 +0530 Subject: [PATCH 049/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index a2b4f8ff9..8cbe8ca54 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,3 +1,4 @@ + Want to Learn Js and Py and improve in C++ From 5b903e58232f3117f1795ad19898f8c0c76dba4d Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 5 Jun 2021 15:53:34 +0530 Subject: [PATCH 050/120] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 640177cce..a1cdac3bd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. From 5c181a86f734fb5eba5171366e565aa2df1c8fd3 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 5 Jun 2021 16:00:12 +0530 Subject: [PATCH 051/120] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a1cdac3bd..b0dac61b0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. + # Rules -In our version, of 100DaysOfCode, you need to do anything that helps you enhance your tech stack i.e. competitive coding, try learning a new language, read technical articles/ books, make open source contributions, add features to a personal project, etc. From 0f58404102b8ae88810f2320b48637abfa317d72 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 6 Jun 2021 23:12:00 +0530 Subject: [PATCH 052/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 8cbe8ca54..4054f6f63 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,4 +1,5 @@ + Want to Learn Js and Py and improve in C++ From 8f72c206dbc0c27a9d5bbd9cc972ab44193f7ca7 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 7 Jun 2021 11:35:54 +0530 Subject: [PATCH 053/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 4054f6f63..8cbe8ca54 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,5 +1,4 @@ - Want to Learn Js and Py and improve in C++ From 46788bd73a55fbb000b065b16b2cb44d6abe1d9a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 8 Jun 2021 00:30:53 +0530 Subject: [PATCH 054/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 8cbe8ca54..3bcf8b506 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,4 +1,5 @@ Want to Learn Js and Py + and improve in C++ From 4c8d95e540f2580ab27ee8d05d01e846ea8753af Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 9 Jun 2021 06:23:51 +0530 Subject: [PATCH 055/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 3bcf8b506..82e9cd8b9 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -3,3 +3,4 @@ Want to Learn Js and Py and improve in C++ + From 37ea25659eb77d647c43168ac5025274bdd4d75e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 10 Jun 2021 06:42:16 +0530 Subject: [PATCH 056/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 82e9cd8b9..5c347ccc9 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,5 +2,6 @@ Want to Learn Js and Py + and improve in C++ From d140db6f7afc967d942dbe5ede6a6f85dee64d7a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 11 Jun 2021 16:48:29 +0530 Subject: [PATCH 057/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 5c347ccc9..56a8534b9 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -3,5 +3,6 @@ Want to Learn Js and Py + and improve in C++ From 2e5112a77874f218c8add271c154d08f681684c5 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 12 Jun 2021 20:48:05 +0530 Subject: [PATCH 058/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 56a8534b9..5c347ccc9 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -3,6 +3,5 @@ Want to Learn Js and Py - and improve in C++ From 3bcc1c903a13a9c57a224fdfc125a4545f8281e5 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 13 Jun 2021 01:41:51 +0530 Subject: [PATCH 059/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 5c347ccc9..56a8534b9 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -3,5 +3,6 @@ Want to Learn Js and Py + and improve in C++ From 3879059aacef84f50e04ffce6bed878348810509 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 14 Jun 2021 01:20:03 +0530 Subject: [PATCH 060/120] Update readme.md --- Tanay/readme.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 56a8534b9..2f8245aaa 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,8 +1,5 @@ Want to Learn Js and Py - - - and improve in C++ From 5750427bb7a84b94d5a0659067b4cd2ed6b65084 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 15 Jun 2021 13:59:56 +0530 Subject: [PATCH 061/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 2f8245aaa..631fb1f7c 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,5 +1,4 @@ - Want to Learn Js and Py and improve in C++ From ac794983fb829b0be2ea2b88718a197a3ab8fdd4 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 16 Jun 2021 22:12:11 +0530 Subject: [PATCH 062/120] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b0dac61b0..4f67ad5f3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Codeshow-100days_of_code + 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. From bfd2dbf3eb13d2258f62a786cb92948b52e38f0e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 17 Jun 2021 23:09:51 +0530 Subject: [PATCH 063/120] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4f67ad5f3..f8cac5cbc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ + # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. From b6235281be4869887b05346f89b6da7f0fdd016e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 18 Jun 2021 19:37:56 +0530 Subject: [PATCH 064/120] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f8cac5cbc..fff4c9a77 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ + # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. From 88cc61170e3908e4c3a533bb268a61950406347a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 19 Jun 2021 13:40:16 +0530 Subject: [PATCH 065/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 631fb1f7c..2545cda6b 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,4 +1,3 @@ - Want to Learn Js and Py and improve in C++ From b9d2e0ef89acdb79040e51a8c26377e586d863d8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 20 Jun 2021 23:16:29 +0530 Subject: [PATCH 066/120] Update readme.md --- Tanay/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 2545cda6b..21cd77d7c 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,3 +1,5 @@ Want to Learn Js and Py and improve in C++ + + From c9267eadceffbf4f5354262ba97d5235e2208c4b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 21 Jun 2021 14:46:55 +0530 Subject: [PATCH 067/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 21cd77d7c..31ee0a2e2 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,4 +1,5 @@ Want to Learn Js and Py + and improve in C++ From 8ddda206a8c5ed5aae61d8d2da77d6dfa27ebff9 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 22 Jun 2021 09:35:26 +0530 Subject: [PATCH 068/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index fff4c9a77..f8cac5cbc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ - # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. From d460b4615de7fcb5f72d7253e43f8632b533a6c0 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 22 Jun 2021 09:35:50 +0530 Subject: [PATCH 069/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 31ee0a2e2..77396b07d 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,5 +1,6 @@ Want to Learn Js and Py + and improve in C++ From 9a53a91056fa5f848efc24a0193d9e74bf0254cb Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 23 Jun 2021 17:58:42 +0530 Subject: [PATCH 070/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 77396b07d..31ee0a2e2 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,6 +1,5 @@ Want to Learn Js and Py - and improve in C++ From f56310ea06725e73810f07a1125776bce61dc67a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 26 Jun 2021 23:47:41 +0530 Subject: [PATCH 071/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index f8cac5cbc..4f67ad5f3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ - # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. From 3729d70799da5b0248eecdde5cb8e5398f05ca45 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 26 Jun 2021 23:48:04 +0530 Subject: [PATCH 072/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 31ee0a2e2..21cd77d7c 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,5 +1,4 @@ Want to Learn Js and Py - and improve in C++ From f71c3d7b62d4b790a301f17a79363127194c2483 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 27 Jun 2021 23:14:24 +0530 Subject: [PATCH 073/120] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4f67ad5f3..443e533a1 100644 --- a/README.md +++ b/README.md @@ -64,3 +64,4 @@ Basic git: -Update the progress in your README according to date and submit a pull request. -If you need more clarification, feel free to reach us at Whatsapp. + From 914d07a1735623dba24f8646cfc419c96c3e3a7b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 28 Jun 2021 08:39:51 +0530 Subject: [PATCH 074/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 21cd77d7c..31ee0a2e2 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,4 +1,5 @@ Want to Learn Js and Py + and improve in C++ From 8862b5ac97b564f0c6f8b208006e7bd296959031 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 29 Jun 2021 10:33:37 +0530 Subject: [PATCH 075/120] Update readme.md --- Tanay/readme.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 31ee0a2e2..80ae4812e 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,6 +1,3 @@ Want to Learn Js and Py and improve in C++ - - - From 3ea41daf854599b2f8952dcbcfccaed3e6b9aa9b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 1 Jul 2021 00:11:05 +0530 Subject: [PATCH 076/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 80ae4812e..2d853b968 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,3 +1,4 @@ Want to Learn Js and Py + and improve in C++ From e80f46b47566965c136fc897b9a0bf133e496e5c Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 3 Jul 2021 07:58:31 +0530 Subject: [PATCH 077/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 2d853b968..80ae4812e 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,4 +1,3 @@ Want to Learn Js and Py - and improve in C++ From 1f205f4cab357ea3f94c080fa450af52b41373c8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 5 Jul 2021 00:39:43 +0530 Subject: [PATCH 078/120] Update readme.md From 9fe4422b035b7cb032c1e62712ea8d8a393c5d73 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 6 Jul 2021 13:28:12 +0530 Subject: [PATCH 079/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 80ae4812e..2d853b968 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,3 +1,4 @@ Want to Learn Js and Py + and improve in C++ From e2d1163f1b98a91b422e55c012fd2669116bd7fe Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 9 Jul 2021 09:11:10 +0530 Subject: [PATCH 080/120] Update readme.md From 3aa58d87a6add37b122ab405c38b913121a86a39 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 10 Jul 2021 00:33:36 +0530 Subject: [PATCH 081/120] Update readme.md From 27072d607e03cc1edc31144d41900cbe0d73881c Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 11 Jul 2021 16:27:19 +0530 Subject: [PATCH 082/120] Update readme.md From f848e9ddf0aa680e4cab01819398b408e7a11e5e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 12 Jul 2021 23:42:04 +0530 Subject: [PATCH 083/120] Update readme.md From ee9d1d882bff3231068e7d0b4ca41d8c5cb2a1f9 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 13 Jul 2021 00:07:12 +0530 Subject: [PATCH 084/120] Update readme.md From 13e6868a30de74843a0b33e8af9edd73d2229224 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 15 Jul 2021 00:07:24 +0530 Subject: [PATCH 085/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 2d853b968..f06a7edf7 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,3 +2,4 @@ Want to Learn Js and Py and improve in C++ + From 9a5dade1324dd9d59054cc7feaff9ce291ade218 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 16 Jul 2021 22:19:03 +0530 Subject: [PATCH 086/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index f06a7edf7..2d853b968 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,4 +2,3 @@ Want to Learn Js and Py and improve in C++ - From b619ccdb9925bf9555d79c3b22f5b47f25439a75 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 17 Jul 2021 13:26:10 +0530 Subject: [PATCH 087/120] Update readme.md From b3d528ddf3641fa6614eeec77a69d28b47c071a0 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 20 Jul 2021 15:37:32 +0530 Subject: [PATCH 088/120] Update readme.md From fbe723c90e2bd0efa4eaf76db94397a0fbf10f77 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 22 Jul 2021 08:46:53 +0530 Subject: [PATCH 089/120] Update readme.md From 5694f048804fe78523dab60313847d1c732ed6dc Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 25 Jul 2021 11:44:45 +0530 Subject: [PATCH 090/120] Update readme.md From 93406b1e569bc87dfcea41646b78f6c32b28018b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:48:06 -0700 Subject: [PATCH 091/120] Update readme.md From 89889a6b76020a1c99b7b74c733037172b774c94 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 28 Jul 2021 09:48:21 -0700 Subject: [PATCH 092/120] Update readme.md From 4d2dd2464fc8766818dcf6ab8ec549ef01aca45d Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 29 Jul 2021 11:04:01 -0700 Subject: [PATCH 093/120] Update readme.md From f214d2ea50d4db2288b8853895bdcdf4fefe5c38 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 30 Jul 2021 19:46:10 +0530 Subject: [PATCH 094/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 2d853b968..f06a7edf7 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,3 +2,4 @@ Want to Learn Js and Py and improve in C++ + From 23af628590d33da9051d9a0510d288e9d835b651 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 31 Jul 2021 23:04:33 +0530 Subject: [PATCH 095/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index f06a7edf7..2d853b968 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,4 +2,3 @@ Want to Learn Js and Py and improve in C++ - From a12a325d792ac575faeba1bbb12fb7a8107dd0e9 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 1 Aug 2021 20:11:20 +0530 Subject: [PATCH 096/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 2d853b968..f06a7edf7 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,3 +2,4 @@ Want to Learn Js and Py and improve in C++ + From 03606c9e8a7b0a2d75b557db8f8758a28ed94c8e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 1 Aug 2021 22:59:17 -0700 Subject: [PATCH 097/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index f06a7edf7..2d853b968 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,4 +2,3 @@ Want to Learn Js and Py and improve in C++ - From b1ad3283c8fc5b463c9710a35afb3c98caefe579 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 3 Aug 2021 04:36:17 -0700 Subject: [PATCH 098/120] Update readme.md From a13cd1d85bdc742ef9a4abf4035db6c3a011a1f2 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 3 Aug 2021 11:31:32 -0700 Subject: [PATCH 099/120] Update readme.md From c63151a5800ab032474a2ea04a28c662d6d2be1d Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 4 Aug 2021 04:42:00 -0700 Subject: [PATCH 100/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 443e533a1..11f8ece4d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. - # Rules -In our version, of 100DaysOfCode, you need to do anything that helps you enhance your tech stack i.e. competitive coding, try learning a new language, read technical articles/ books, make open source contributions, add features to a personal project, etc. From 974964eda79c9487d4c6cb21f775abd517cf9229 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 5 Aug 2021 00:03:02 +0530 Subject: [PATCH 101/120] Update readme.md From 6fe2be80737a65e45d72b72ef21aef2e8a028d2b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 6 Aug 2021 23:29:44 +0530 Subject: [PATCH 102/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 2d853b968..f06a7edf7 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,3 +2,4 @@ Want to Learn Js and Py and improve in C++ + From fb7874cf2924b15ea285b84aaabf53cbdf42061e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sat, 7 Aug 2021 00:22:31 +0530 Subject: [PATCH 103/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index f06a7edf7..6cf1a9133 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -1,5 +1,4 @@ Want to Learn Js and Py - and improve in C++ From 42d57c4dffa33ebc85a93112bf44a745c30159eb Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 8 Aug 2021 10:10:51 +0530 Subject: [PATCH 104/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 6cf1a9133..bd539e9eb 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -2,3 +2,4 @@ Want to Learn Js and Py and improve in C++ + From 405a4d55af241382eeddb73843028b120e2f5e5b Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 9 Aug 2021 11:27:23 -0700 Subject: [PATCH 105/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index bd539e9eb..31ee0a2e2 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -3,3 +3,4 @@ Want to Learn Js and Py and improve in C++ + From d4a55149a4e05501a2df0dbde1dca1e27d433ce0 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 9 Aug 2021 12:16:01 -0700 Subject: [PATCH 106/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 11f8ece4d..65e8a54af 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. From 72b239a6b3b110077dfa47a5299906e8e0b831e8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 10 Aug 2021 14:35:00 +0530 Subject: [PATCH 107/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 31ee0a2e2..ebeb7bf9c 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -4,3 +4,4 @@ and improve in C++ + From c624d9d926ac1d99b8b28eec3299b59f4969f649 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 12 Aug 2021 23:41:27 +0530 Subject: [PATCH 108/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index ebeb7bf9c..74fc6c9c8 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -5,3 +5,4 @@ and improve in C++ + From 739223a5b11006659c30dceeefebaf1673107cdc Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 13 Aug 2021 10:03:02 +0530 Subject: [PATCH 109/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 74fc6c9c8..492a8b4b8 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -6,3 +6,4 @@ and improve in C++ + From 14a00d5102bbd8a10aa73266ce2f68ec04890700 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Sun, 15 Aug 2021 23:41:51 +0530 Subject: [PATCH 110/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 492a8b4b8..74fc6c9c8 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -6,4 +6,3 @@ and improve in C++ - From 5d22347e18dbcd1b720c982425c84ac0e21abc19 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 16 Aug 2021 00:34:44 +0530 Subject: [PATCH 111/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 74fc6c9c8..ebeb7bf9c 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -5,4 +5,3 @@ and improve in C++ - From 3558bde645626d546da9a9fb2cfb6d5b11268145 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 17 Aug 2021 00:42:54 -0700 Subject: [PATCH 112/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index ebeb7bf9c..31ee0a2e2 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -4,4 +4,3 @@ and improve in C++ - From 91818f1a2a242e5d407f3b1baf619ac6b377b4f8 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Fri, 20 Aug 2021 01:21:53 +0530 Subject: [PATCH 113/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index 31ee0a2e2..ebeb7bf9c 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -4,3 +4,4 @@ and improve in C++ + From 341b2c15c77d69f23e50939c1b43c743d5b6cac4 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 19 Aug 2021 23:16:09 -0700 Subject: [PATCH 114/120] Update readme.md --- Tanay/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tanay/readme.md b/Tanay/readme.md index ebeb7bf9c..74fc6c9c8 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -5,3 +5,4 @@ and improve in C++ + From 3d1a46a2ed374f269ed519f2accbb5f66c5d866a Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 31 Aug 2021 20:51:09 +0530 Subject: [PATCH 115/120] Update readme.md --- Tanay/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Tanay/readme.md b/Tanay/readme.md index 74fc6c9c8..ebeb7bf9c 100644 --- a/Tanay/readme.md +++ b/Tanay/readme.md @@ -5,4 +5,3 @@ and improve in C++ - From fa4368b93f42c318b963ababbc2a41ceae089e3e Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Wed, 27 Oct 2021 04:56:13 -0700 Subject: [PATCH 116/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 65e8a54af..098a1e721 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Codeshow-100days_of_code 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. - # Rules -In our version, of 100DaysOfCode, you need to do anything that helps you enhance your tech stack i.e. competitive coding, try learning a new language, read technical articles/ books, make open source contributions, add features to a personal project, etc. From 0ec210302c58188cf4c404045dff74777decb748 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Thu, 28 Oct 2021 09:57:17 -0700 Subject: [PATCH 117/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 098a1e721..5c5ec2c85 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ -Keep defining your short term goals (measurable) and strive hard to achieve them. (Eg. Getting better at competitive coding is not a measurable goal but achiving 2000 rating in Codechef is measurable. -Update everyday progress and submit a pull request. - -(Optional) Follow 100DaysOfCode Twitter Bot that retweets the tweets that contain the #100DaysOfCode hashtag and timely tweet your progress with #100DaysOfCode hashtag. -Try to add detailed description of what you did, add corresponding links, if you solve questions, you can add your codes in the same folder and provid a link in the README (not for active contests). From f7e0a6cb06ca4df9bd7df9dcf20f0b071fe23dbd Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Tue, 16 Nov 2021 06:20:11 -0800 Subject: [PATCH 118/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 5c5ec2c85..b9e2f35e7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # Codeshow-100days_of_code - 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. # Rules -In our version, of 100DaysOfCode, you need to do anything that helps you enhance your tech stack i.e. competitive coding, try learning a new language, read technical articles/ books, make open source contributions, add features to a personal project, etc. From 46331754a7ba1a58831a18396c89a6345f9c3def Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 3 Jan 2022 00:06:59 +0530 Subject: [PATCH 119/120] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b9e2f35e7..5c5ec2c85 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Codeshow-100days_of_code + 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. # Rules -In our version, of 100DaysOfCode, you need to do anything that helps you enhance your tech stack i.e. competitive coding, try learning a new language, read technical articles/ books, make open source contributions, add features to a personal project, etc. From 202b6ff8fc7e56bd380c4f2e14a189eeaab1d594 Mon Sep 17 00:00:00 2001 From: Risky <77578362+TanayShukla@users.noreply.github.com> Date: Mon, 3 Jan 2022 00:07:26 +0530 Subject: [PATCH 120/120] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 5c5ec2c85..b9e2f35e7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # Codeshow-100days_of_code - 100DaysOfCode is a challenge/community, where you publicly commit to code for 1 hour for the next 100 days. # Rules -In our version, of 100DaysOfCode, you need to do anything that helps you enhance your tech stack i.e. competitive coding, try learning a new language, read technical articles/ books, make open source contributions, add features to a personal project, etc.