Skip to content

C++ Tutorials Folder Setup #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/cpp/01_Introduction_to_Cpp/01_What_is_Cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: what-is-cpp
title: What is C++?
sidebar_label: What is C++?
sidebar_position: 1
tags: [c++, what-is-c++, introduction-to-c++]
description: In this tutorial, you will learn about the C++ programming language, what it is, its features, and its applications.
---
8 changes: 8 additions & 0 deletions docs/cpp/01_Introduction_to_Cpp/02_Why_Learn_Cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: why-learn-cpp
title: Why Learn C++?
sidebar_label: Why Learn C++?
sidebar_position: 2
tags: [c++, why-learn-c++]
description: In this tutorial, you will learn about the many applications of the C++ programming language and the benefits of learning it.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: setup-cpp-development-environment
title: Setup C++ Development Environment
sidebar_label: Setup C++ Development Environment
sidebar_position: 3
tags: [c++, setup c++ development environment]
description: In this tutorial, you will walk through all the steps of setting up a C++ development environment on your local computer.
---
8 changes: 8 additions & 0 deletions docs/cpp/01_Introduction_to_Cpp/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Introduction To C++",
"position": 2,
"link": {
"type": "generated-index",
"description": "In this section, you will learn about the basics of the C++ programming language. You will learn about the many features that make C++ unqiue, you'll learn how to install it on your machine, and how to write and run your first C++ program."
}
}
17 changes: 17 additions & 0 deletions docs/cpp/02_Basic_Syntax_and_Structure/01_Cpp_Syntax_Basics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
id: cpp-syntax-basics
title: C++ Syntax Basics
sidebar_label: C++ Syntax Basics
sidebar_position: 1
tags:
[
c++,
syntax,
structure,
programming,
c++ syntax and structure,
c++ programming language,
c++ features,
]
description: In this tutorial, we will learn about the syntax and structure of the C++ programming language. We will learn about the basic structure of a C++ program, C++ syntax, and the rules that govern the C++ programming language.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: variables-and-data-types
title: Variables and Data Types
sidebar_label: Variables and Data Types
sidebar_position: 2
tags:
[
c++,
variables,
data types,
programming,
c++ variables,
c++ data types
]
description: In this tutorial, we will learn about variables and data types in C++. We will learn about what variables are, how to declare and initialize variables, and the different data types available in the language.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
id: operators-and-expressions
title: Operators and Expressions
sidebar_label: Operators and Expressions
sidebar_position: 3
tags:
[c++, operators, expressions, programming, c++ operators, c++ expressions]
description: In this tutorial, we will learn about operators and expressions in C++. We will learn about the different types of operators available in C++, how to use them, and how to create expressions using operators.
---
8 changes: 8 additions & 0 deletions docs/cpp/02_Basic_Syntax_and_Structure/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "The Basics of C++ Syntax and Structure",
"position": 3,
"link": {
"type": "generated-index",
"description": "In this section, you will learn about the basics of C++ syntax, the details of how the language is structured and the data types and operators that make up C++."
}
}
18 changes: 18 additions & 0 deletions docs/cpp/03_Control_Flow/01_Conditional_Statements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
id: cpp-conditional-statements
title: C++ Conditional Statements
sidebar_label: C++ Conditional Statements
sidebar_position: 1
tags:
[
c++,
programming,
c++ features,
c++ control flow,
control flow,
c++ conditional statements,
conditional statements,
if, else if, else
]
description: In this tutorial, we will learn about conditional statements in the C++ programming language. We will explore the syntax and usage of `if`, `else if`, and `else` statements, as well as switch-case structures. By understanding how to implement these conditional statements, you will be able to control the flow of your C++ programs and make decisions based on different conditions.
---
17 changes: 17 additions & 0 deletions docs/cpp/03_Control_Flow/02_Loops_in_Cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
id: loops-in-cpp
title: Loops in C++
sidebar_label: Loops in C++
sidebar_position: 2
tags:
[
c++,
programming,
c++ features,
c++ control flow,
control flow,
c++ loops,
for, while
]
description: In this tutorial, we will learn about loops in the C++ programming language. We will explore the syntax and usage of `for`, `while`, and `do-while` loops. By understanding how to implement these looping constructs, you will be able to execute code repeatedly based on specified conditions, making your C++ programs more efficient and powerful.
---
17 changes: 17 additions & 0 deletions docs/cpp/03_Control_Flow/03_Switch_Case_Statements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
id: switch-case-statements-in-cpp
title: Switch Case Statements in C++
sidebar_label: Switch Case Statements in C++
sidebar_position: 3
tags:
[
c++,
programming,
c++ features,
c++ control flow,
control flow,
c++ switch,
switch case statement
]
description: In this tutorial, we will learn about switch case statements in the C++ programming language. We will explore the syntax and usage of the switch statement and how to handle multiple cases. By understanding how to implement switch case statements, you will be able to simplify complex conditional logic and improve the readability of your C++ programs.
---
8 changes: 8 additions & 0 deletions docs/cpp/03_Control_Flow/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Control Flow In C++",
"position": 4,
"link": {
"type": "generated-index",
"description": "In this section, you will learn about control flow in C++, the mechanisms that dictate the order in which statements and instructions are executed. We will cover essential concepts such as conditional statements, loops, and control flow constructs that enable you to manage the execution path of your C++ programs efficiently and logically."
}
}
15 changes: 15 additions & 0 deletions docs/cpp/04_Functions/01_Function_Basics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
id: cpp-functions-basics
title: The Basics of C++ Functions
sidebar_label: The Basics of C++ Functions
sidebar_position: 1
tags:
[
c++,
programming,
c++ features,
functions basics,
c++ functions
]
description: In this tutorial, we will learn about the basics of functions in the C++ programming language. We will explore the syntax for defining and calling functions, the concept of return types, and the use of parameters. By understanding how to create and utilize functions, you will be able to organize your code more effectively and improve its modularity and reusability.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: cpp-function-parameters-and-return-types
title: Function Parameters and Return Types in C++
sidebar_label: Function Parameters and Return Types in C++
sidebar_position: 2
tags:
[
c++,
programming,
c++ features,
c++ functions
function parameters,
function return types
]
description: In this tutorial, we will learn about function parameters and return types in the C++ programming language. We will explore how to define and use parameters, the different types of return values, and how to handle multiple parameters. By understanding function parameters and return types, you will be able to create more flexible and powerful functions in your C++ programs.
---
16 changes: 16 additions & 0 deletions docs/cpp/04_Functions/03_Function_Overloading.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: cpp-function-overloading
title: Function Overloading in C++
sidebar_label: Function Overloading in C++
sidebar_position: 3
tags:
[
c++,
programming,
c++ features,
c++ functions
function parameters,
function return types
]
description: In this tutorial, we will explore the concept of function overloading in the C++ programming language. We'll delve into how to define multiple functions with the same name but different parameter lists. By understanding function overloading, you'll learn how to write cleaner, more concise code and enhance the flexibility and readability of your C++ programs.
---
8 changes: 8 additions & 0 deletions docs/cpp/04_Functions/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Functions In C++",
"position": 5,
"link": {
"type": "generated-index",
"description": "In this section, you will learn about functions in C++, the building blocks that allow you to organize and modularize your code. We will cover the syntax for defining and calling functions, the use of parameters and return values, and best practices for creating reusable and maintainable code with functions."
}
}
16 changes: 16 additions & 0 deletions docs/cpp/05_Arrays_and_Strings/01_Array_Basics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: cpp-array-basics
title: The Basics of C++ Arrays
sidebar_label: The Basics of C++ Arrays
sidebar_position: 1
tags:
[
c++,
c++ programming,
c++ features,
arrays,
c++ array basics,
c++ arrays
]
description: In this tutorial, we will cover the basics of C++ arrays. We'll explore how to declare, initialize, and access elements in arrays, as well as discuss multidimensional arrays. By understanding the fundamentals of C++ arrays, you'll be equipped to work with collections of data efficiently and effectively in your programs.
---
16 changes: 16 additions & 0 deletions docs/cpp/05_Arrays_and_Strings/02_String_Manipulation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: cpp-string-manipulation
title: String Manipulation in C++
sidebar_label: String Manipulation in C++
sidebar_position: 2
tags:
[
c++,
c++ programming,
programming,
c++ strings,
string manipulation
string data type
]
description: In this tutorial, we will delve into string manipulation in C++. We'll explore how to perform various operations such as concatenation, substring extraction, and searching within strings. By understanding the techniques for manipulating strings, you'll be able to handle textual data effectively in your C++ programs, enabling you to develop more versatile and robust applications.
---
16 changes: 16 additions & 0 deletions docs/cpp/05_Arrays_and_Strings/03_Character_Arrays.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: cpp-character-arrays
title: Character Arrays in C++
sidebar_label: Character Arrays in C++
sidebar_position: 3
tags:
[
c++,
c++ programming,
programming,
c++ arrays,
character arrays,
programming arrays
]
description: In this tutorial, we'll explore character arrays in C++. We'll cover how to declare, initialize, and manipulate character arrays, including techniques for string input and output. By mastering the basics of character arrays, you'll gain a fundamental understanding of handling character-based data in C++, laying a solid foundation for more advanced text processing and manipulation tasks.
---
8 changes: 8 additions & 0 deletions docs/cpp/05_Arrays_and_Strings/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Arrays and Strings in C++",
"position": 6,
"link": {
"type": "generated-index",
"description": "In this section, you will learn about arrays and strings in C++, the fundamental structures for storing and manipulating sequences of data. We will cover how to declare, initialize, and access arrays, as well as the various ways to handle and operate on strings, enabling you to efficiently manage collections of data in your programs."
}
}
16 changes: 16 additions & 0 deletions docs/cpp/06_Pointers_and_References/01_Pointer_Basics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: cpp-pointer-basics
title: The Basics of C++ Pointers
sidebar_label: The Basics of C++ Pointers
sidebar_position: 1
tags:
[
c++,
programming,
c++ programming,
pointers,
c++ pointers,
pointer basics
]
description: In this tutorial, we'll dive into the basics of C++ pointers. We'll explore how pointers work, how to declare and initialize them, and how to use them to manipulate memory addresses and data. Understanding pointers is crucial for advanced memory management and data manipulation in C++, making this tutorial essential for any programmer aiming to master the language.
---
15 changes: 15 additions & 0 deletions docs/cpp/06_Pointers_and_References/02_Pointers_and_Arrays.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
id: cpp-pointers-and-arrays
title: Pointers and Arrays in C++
sidebar_label: Pointers and Arrays in C++
sidebar_position: 2
tags:
[
c++,
programming,
c++ pointers,
c++ arrays,
pointers and arrays
]
description: In this tutorial, we'll explore pointers and arrays in C++. We'll cover how to use pointers to access elements of arrays, understand the relationship between pointers and arrays, and explore pointer arithmetic in the context of arrays. By mastering the interaction between pointers and arrays, you'll unlock powerful capabilities for efficient memory management and data manipulation in your C++ programs.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
id: cpp-pointers-and-functions
title: Pointers and Functions in C++
sidebar_label: Pointers and Functions in C++
sidebar_position: 3
tags:
[
c++,
programming,
pointers and functions,
c++ pointers,
c++ functions
]
description: In this tutorial, we'll delve into pointers and functions in C++. We'll explore how to pass pointers to functions, use pointers as function parameters, and return pointers from functions. Understanding how pointers and functions interact is essential for dynamic memory allocation, efficient parameter passing, and advanced data manipulation in C++. By mastering pointers and functions, you'll elevate your C++ programming skills to a new level.
---
8 changes: 8 additions & 0 deletions docs/cpp/06_Pointers_and_References/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Pointers and References in C++",
"position": 7,
"link": {
"type": "generated-index",
"description": "In this section, you will learn about pointers and references in C++, the powerful features that provide direct access to memory and enable efficient manipulation of data. We will cover how to declare, initialize, and use pointers and references, as well as their applications in dynamic memory management and function arguments, enhancing your ability to write efficient and effective C++ programs."
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
id: cpp-classes-and-objects
title: Class and Objects in C++
sidebar_label: Class and Objects in C++
sidebar_position: 1
tags:
[
c++,
programming,
c++ classes,
c++ objects,
object oriented programming,
c++ OOP,
classes and objects
]
description: In this tutorial, we'll explore classes and objects in C++. We'll cover how to define classes, create objects, and access their members. Additionally, we'll delve into constructors, destructors, and member functions, essential components for building robust and reusable code. Understanding classes and objects is fundamental to object-oriented programming in C++, enabling you to organize and encapsulate data and functionality effectively.
---
16 changes: 16 additions & 0 deletions docs/cpp/07_Object_Oriented_Programming/02_Inheritance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
id: cpp-inheritance
title: Inheritance in C++
sidebar_label: Inheritance in C++
sidebar_position: 2
tags:
[
c++,
programming,
object oriented programming,
c++ OOP,
inheritance,
c++ inheritance
]
description: In this tutorial, we'll dive into inheritance in C++. We'll explore how to create derived classes that inherit properties and behaviors from base classes. You'll learn about different types of inheritance, such as single, multiple, and hierarchical inheritance, along with the use of access specifiers like public, protected, and private. Understanding inheritance is key to building flexible and scalable C++ programs, allowing you to reuse code and create complex class hierarchies with ease.
---
Loading
Loading