1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-03 14:22:41 +02:00

fix: std abbreviation for STL (#8392)

This commit is contained in:
Piotr Idzik
2025-03-24 18:48:00 +01:00
committed by GitHub
parent dc08643daf
commit e92d8c442f

View File

@@ -42,7 +42,7 @@ To output text to the console, we use the `std::cout` object and the insertion o
```cpp ```cpp
std::cout << "Hello, World!" << '\n'; std::cout << "Hello, World!" << '\n';
``` ```
- `std`: This is the namespace where C++ standard library entities (classes and functions) reside. It stands for "standard" and is an abbreviation for the Standard Template Library (STL). - `std`: This is the namespace where C++ standard library entities (classes and functions) reside. It stands for "standard"
- `std::cout`: The standard "character output" stream that writes to the console - `std::cout`: The standard "character output" stream that writes to the console
- `"Hello, World!"`: The string literal to print - `"Hello, World!"`: The string literal to print
- `'\n'`: The "end line" manipulator that inserts a newline character and flushes the output buffer - `'\n'`: The "end line" manipulator that inserts a newline character and flushes the output buffer