Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arvinsingh/advanced-oop

advanced object-oriented programming
https://github.com/arvinsingh/advanced-oop

classes data-structures inheritance memory-management standard-library

Last synced: 2 days ago
JSON representation

advanced object-oriented programming

Awesome Lists containing this project

README

        

## For advanced Object Oriented Programming CPP/C

To run on commandline
Compile
```g++ -c [cpp files to compile]```

Link object files
```g++ -o [output exe filename] [input object files to link]```

Alternatively, to compile & link in one step
```g++ -o [output exe filename] [input c++ files]```

- Write & complie
- Hello world
- Fibonacci Numbers
- Accepting commandline arguments

- Memory Allocation
- Variable length input
- Dynamic memory allocation and lifespan managment using best practices

- Data Structures
- Structures to group together variables referencing same object
- Deep copy
- Carry foward best practices

- Classes
- Encapsulation
- Access to protected variables

- Inheritance
- Create abstract class with virtual functions
- derive abstract base class

- Standard Library Containers
- Implement hash function
- Implement equality and comparasion operators