https://github.com/pc-magas/cpp_examples
Basic examples for basic C++ usage.
https://github.com/pc-magas/cpp_examples
examples examples-cpp learning-by-doing
Last synced: about 2 months ago
JSON representation
Basic examples for basic C++ usage.
- Host: GitHub
- URL: https://github.com/pc-magas/cpp_examples
- Owner: pc-magas
- Created: 2019-04-14T14:07:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-14T14:29:34.000Z (about 6 years ago)
- Last Synced: 2024-04-19T09:56:25.626Z (about 1 year ago)
- Topics: examples, examples-cpp, learning-by-doing
- Language: C++
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C++ Examples:
Basic Examples Exmaplining the C++ Syntax. Also there are some examples as well referencing to common and not so common tasks used using C++.
# File Structure
- `Basic` : Contains Basic systax and examples of common C++ commands.
- `Strings`: Use Cases with Strings.
- `Structs`: Use Cases with Structs.
- `Pointers`: Use Cases with pointers.
- `Classes`: Examples using classes.# File Sources way of naming
Any file countaining source code and starts with `cpp11` is reffered to C++ 11 spec.
# Misc Snippets
Ovveriding operators
```
friend std::ostream &operator<<(logger &logger, const Poin2D &d) {
.....
return logger;
}
```