An open API service indexing awesome lists of open source software.

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.

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;
}
```