Giter Club home page Giter Club logo

cpp-a-refreshing's Introduction

Little and pretty programs made for learn all the shades of the C++ programming language.

Syllabus

  • The C++ programming language

  • primitive types: int, char

  • Functions and variables, arrays

  • Function:

    • declaration: returnType nameFunction(inputType varInput)
    • implementation: { ...code here... }
    • call: nameFunction(varInput);
  • Memory type:

    • Heap
    • Stack: How doas stack work?
  • ฬ€ const` keyword

  • Pointers and References

    • Pass by value
    • Pass by reference
  • Refactoring to Classes (Intro to the OOP)

    • Class Members
    • Class Methods
    • The 'this' pointer
  • Encapsulation (public and private)

  • Constructor:

    • Default (auto if nothing defined)
    • Copy (auto if nothing defined)
    • Custom
  • static keyword

  • Review constructor and copy constructor

  • Introduce CPU player algorithm

    • Get lower/higher value from an array
    • Manage states
  • Build my container (basic array)

  • Use template class

  • Recursion for traversing the tree of states of tic-tac-toe

  • Stack data structure (pop and push operation)

    • Using iteration instead of recursion

What is the "plus plus" in C++?

  • classes
  • constructurs
  • destructors
  • default parameters
  • overloading
  • inheritance
  • virtual function
  • references

Apps

Briscola-ToyApp

C++ implementation of Italian card game Briscola just for refreshing C++

Compile and Run

g++ .\briscola.cpp .\a.exe

Usuful Links

cpp-a-refreshing's People

Contributors

edubic avatar lorissagg93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

umeshk33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.