All additional links at the end of the articles in C++ roadmap have been wrapped with 'Learn more from the following resources:' line as in contribution docs stated (#5949)

pull/5947/head
Michael Budnikov 5 months ago committed by GitHub
parent 24c4221591
commit fe6e0830eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/cpp/content/100-introduction/100-what-is-cpp.md
  2. 2
      src/data/roadmaps/cpp/content/100-introduction/index.md
  3. 2
      src/data/roadmaps/cpp/content/101-setting-up/101-code-editors.md
  4. 2
      src/data/roadmaps/cpp/content/102-basic-operations/102-loops.md
  5. 3
      src/data/roadmaps/cpp/content/102-basic-operations/103-bitwise.md
  6. 2
      src/data/roadmaps/cpp/content/103-functions/100-lambda.md
  7. 2
      src/data/roadmaps/cpp/content/103-functions/index.md
  8. 2
      src/data/roadmaps/cpp/content/104-data-types/100-static-typing.md
  9. 2
      src/data/roadmaps/cpp/content/105-pointers-and-references/smart-pointers/100-weak-ptr.md
  10. 2
      src/data/roadmaps/cpp/content/109-language-concepts/101-type-casting/index.md
  11. 2
      src/data/roadmaps/cpp/content/libraries/102-poco.md

@ -45,6 +45,8 @@ int main() {
In the above program, we define a simple function `add` and a class `Calculator` with a member function `multiply`. The `main` function demonstrates how to use these to perform basic arithmetic. In the above program, we define a simple function `add` and a class `Calculator` with a member function `multiply`. The `main` function demonstrates how to use these to perform basic arithmetic.
Learn more from the following resources:
- [@video@C++ Tutorial for Beginners - Full Course](https://youtu.be/vLnPwxZdW4Y) - [@video@C++ Tutorial for Beginners - Full Course](https://youtu.be/vLnPwxZdW4Y)
- [@article@w3schools C++ tutorial](https://www.w3schools.com/cpp/) - [@article@w3schools C++ tutorial](https://www.w3schools.com/cpp/)
- [@article@Learn C++](https://www.learncpp.com/) - [@article@Learn C++](https://www.learncpp.com/)

@ -131,5 +131,7 @@ int main() {
This basic introduction to C++ should provide you with a good foundation for further learning. Explore more topics such as classes, objects, inheritance, polymorphism, templates, and the Standard Template Library (STL) to deepen your understanding of C++ and start writing more advanced programs. This basic introduction to C++ should provide you with a good foundation for further learning. Explore more topics such as classes, objects, inheritance, polymorphism, templates, and the Standard Template Library (STL) to deepen your understanding of C++ and start writing more advanced programs.
Learn more from the following resources:
- [@article@LearnC++](https://www.learncpp.com/) - [@article@LearnC++](https://www.learncpp.com/)
- [@video@C++ Full Course by freeCodeCamp](https://youtu.be/vLnPwxZdW4Y) - [@video@C++ Full Course by freeCodeCamp](https://youtu.be/vLnPwxZdW4Y)

@ -12,5 +12,7 @@ These are just a few examples, and there are many other code editors available,
To work with C++ in your chosen code editor, you often need to install some additional tools and add-ons, such as compilers, linters, and debugger support. Make sure to follow the instructions provided in the editor's documentation to set up C++ correctly. To work with C++ in your chosen code editor, you often need to install some additional tools and add-ons, such as compilers, linters, and debugger support. Make sure to follow the instructions provided in the editor's documentation to set up C++ correctly.
Learn more from the following resources:
- [@article@Using C++ on Linux in VSCode](https://code.visualstudio.com/docs/cpp/config-linux) - [@article@Using C++ on Linux in VSCode](https://code.visualstudio.com/docs/cpp/config-linux)
- [@feed@Explore top posts about General Programming](https://app.daily.dev/tags/general-programming?ref=roadmapsh) - [@feed@Explore top posts about General Programming](https://app.daily.dev/tags/general-programming?ref=roadmapsh)

@ -86,4 +86,6 @@ int main() {
In summary, loops are an integral part of C++ programming that allow you to execute a block of code multiple times. The three types of loops in C++ are `for`, `while`, and `do-while`. Each type has its own specific use case and can be chosen depending on the desired behavior. In summary, loops are an integral part of C++ programming that allow you to execute a block of code multiple times. The three types of loops in C++ are `for`, `while`, and `do-while`. Each type has its own specific use case and can be chosen depending on the desired behavior.
Learn more from the following resources:
- [@article@C++ For Loop](https://www.w3schools.com/cpp/cpp_for_loop.asp) - [@article@C++ For Loop](https://www.w3schools.com/cpp/cpp_for_loop.asp)

@ -65,5 +65,8 @@ int result = 5 >> 1; // result will be 2 (0000 0101 >> 1 = 0000 0010)
``` ```
These were the most common bitwise operations in C++. Remember to use them carefully and understand their behavior when applied to specific data types and scenarios. These were the most common bitwise operations in C++. Remember to use them carefully and understand their behavior when applied to specific data types and scenarios.
Learn more from the following resources:
- [@video@Intro to Binary and Bitwise Operators in C++](https://youtu.be/KXwRt7og0gI) - [@video@Intro to Binary and Bitwise Operators in C++](https://youtu.be/KXwRt7og0gI)
- [@video@Bitwise AND (&), OR (|), XOR (^) and NOT (~) in C++](https://youtu.be/HoQhw6_1NAA) - [@video@Bitwise AND (&), OR (|), XOR (^) and NOT (~) in C++](https://youtu.be/HoQhw6_1NAA)

@ -61,6 +61,8 @@ updateDays(30); // expiresInDays = 30
Note that, when using the capture by reference, any change made to the captured variable _inside_ the lambda function will affect its value in the surrounding scope. Note that, when using the capture by reference, any change made to the captured variable _inside_ the lambda function will affect its value in the surrounding scope.
Learn more from the following resources:
- [@video@Lambdas in C++](https://youtu.be/MH8mLFqj-n8) - [@video@Lambdas in C++](https://youtu.be/MH8mLFqj-n8)
- [@article@Lambda Expressions](https://en.cppreference.com/w/cpp/language/lambda) - [@article@Lambda Expressions](https://en.cppreference.com/w/cpp/language/lambda)
- [@feed@Explore top posts about AWS Lambda](https://app.daily.dev/tags/aws-lambda?ref=roadmapsh) - [@feed@Explore top posts about AWS Lambda](https://app.daily.dev/tags/aws-lambda?ref=roadmapsh)

@ -73,4 +73,6 @@ int multiplyNumbers(int x, int y) {
In this example, we use a function prototype for `multiplyNumbers()` before defining it. This way, we can call the function from the `main()` function even though it hasn't been defined yet in the code. In this example, we use a function prototype for `multiplyNumbers()` before defining it. This way, we can call the function from the `main()` function even though it hasn't been defined yet in the code.
Learn more from the following resources:
- [@article@introduction to functions in c++](https://www.learncpp.com/cpp-tutorial/introduction-to-functions/) - [@article@introduction to functions in c++](https://www.learncpp.com/cpp-tutorial/introduction-to-functions/)

@ -26,5 +26,7 @@ int main() {
In the code above, the variable `num` is statically typed as an `int`, `pi` is statically typed as a `double`, and `c` is statically typed as a `char`. If you attempt to assign the value of `pi` to `num`, the value `3.14159` will be converted to the integer `3` and assigned to `num`. Similarly, when the value of `num` is assigned to `c`, the compiler will convert the value `65` to its corresponding [ASCII](https://www.ascii-code.com) code, which is `A`. In the code above, the variable `num` is statically typed as an `int`, `pi` is statically typed as a `double`, and `c` is statically typed as a `char`. If you attempt to assign the value of `pi` to `num`, the value `3.14159` will be converted to the integer `3` and assigned to `num`. Similarly, when the value of `num` is assigned to `c`, the compiler will convert the value `65` to its corresponding [ASCII](https://www.ascii-code.com) code, which is `A`.
Learn more from the following resources:
- [@article@Type-Coversion](https://www.programiz.com/cpp-programming/type-conversion) - [@article@Type-Coversion](https://www.programiz.com/cpp-programming/type-conversion)
- [@article@Static Vs Dynamic](https://www.techtarget.com/searchapparchitecture/tip/Static-vs-dynamic-typing-The-details-and-differences) - [@article@Static Vs Dynamic](https://www.techtarget.com/searchapparchitecture/tip/Static-vs-dynamic-typing-The-details-and-differences)

@ -47,4 +47,6 @@ int main() {
In this example, we create a `shared_ptr` named `shared` that manages a `MyClass` object. By assigning it to a `weak_ptr` named `weak`, we store a non-owning reference to the object. Inside the inner scope, we create a new `shared_ptr` named `sharedFromWeak` using `weak.lock()` to safely use the object. After the inner scope, the `MyClass` object is destroyed since `shared` goes out of scope, and any further attempt to create a `shared_ptr` from `weak` will fail as the object is already destroyed. In this example, we create a `shared_ptr` named `shared` that manages a `MyClass` object. By assigning it to a `weak_ptr` named `weak`, we store a non-owning reference to the object. Inside the inner scope, we create a new `shared_ptr` named `sharedFromWeak` using `weak.lock()` to safely use the object. After the inner scope, the `MyClass` object is destroyed since `shared` goes out of scope, and any further attempt to create a `shared_ptr` from `weak` will fail as the object is already destroyed.
Learn more from the following resources:
- [@article@CPP Reference](https://en.cppreference.com/w/cpp/memory/weak_ptr) - [@article@CPP Reference](https://en.cppreference.com/w/cpp/memory/weak_ptr)

@ -43,4 +43,6 @@ Type casting is the process of converting a value from one data type to another.
Remember to use the right type of casting based on the specific situation and follow good programming practices in order to ensure a safe and efficient code. Remember to use the right type of casting based on the specific situation and follow good programming practices in order to ensure a safe and efficient code.
Learn more from the following resources:
- [@video@Casting in C++](https://youtu.be/pWZS1MtxI-A) - [@video@Casting in C++](https://youtu.be/pWZS1MtxI-A)

@ -70,4 +70,6 @@ int main()
In the above example, Poco is used to send an HTTP GET request and process the response. It manages tasks like connecting to the server, handling exceptions, and managing HTTP headers. In the above example, Poco is used to send an HTTP GET request and process the response. It manages tasks like connecting to the server, handling exceptions, and managing HTTP headers.
Learn more from the following resources:
- [@article@Official Docs for Poco Library](https://docs.pocoproject.org/) - [@article@Official Docs for Poco Library](https://docs.pocoproject.org/)
Loading…
Cancel
Save