feat: daily.dev links (#5860)

* feat: add daily.dev link type

* feat: replace to feed label

* feat: add links to different pages
This commit is contained in:
Ante Barić authored and GitHub committed 2024-06-19 15:58:20 +01:00
1 parent c935e2457e
commit 6d983167c8
1028 files changed
+1347 -322

No files matched your search

@@ -1,10 +1,10 @@
# What is C++?
# What is C++?
C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language. It was first introduced in 1985 and provides object-oriented features like classes and inheritance. C++ is widely used in various applications like game development, system programming, embedded systems, and high-performance computing.
C++ is a statically-typed language, meaning that the type of a variable is determined during compilation, and has an extensive library called the C++ Standard Library, which provides a rich set of functions, algorithms, and data structures for various tasks.
C++ builds upon the features of C, and thus, most C programs can be compiled and run with a C++ compiler.
C++ builds upon the features of C, and thus, most C programs can be compiled and run with a C++ compiler.
## Code Example
@@ -48,3 +48,4 @@ In the above program, we define a simple function `add` and a class `Calculator`
- [@video@C++ Tutorial for Beginners - Full Course](https://youtu.be/vLnPwxZdW4Y)
- [@article@w3schools C++ tutorial](https://www.w3schools.com/cpp/)
- [@article@Learn C++](https://www.learncpp.com/)
- [@feed@Explore top posts about C++](https://app.daily.dev/tags/c++?ref=roadmapsh)
@@ -13,3 +13,4 @@ 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.
- [@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)
@@ -14,7 +14,7 @@ Here is a basic syntax of a lambda function in C++:
- **capture-list**: A list of variables from the surrounding scope that the lambda function can access.
- **parameters**: The list of input parameters, just like in a regular function. Optional.
- **return_type**: The type of the value that the lambda function will return. This part is optional, and the compiler can deduce it in many cases.
- **return\_type**: The type of the value that the lambda function will return. This part is optional, and the compiler can deduce it in many cases.
- **function body**: The code that defines the operation of the lambda function.
## Usage Examples
@@ -59,7 +59,8 @@ auto updateDays = [&expiresInDays](int newDays) {
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.
- [@video@Lambdas in C++](https://youtu.be/MH8mLFqj-n8)
- [@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)