Skip to content

joe-boadi/cplus-for-beginners

Repository files navigation

Intro cplus+

A very essential language any or every engineer should be familar and abreast with.
To build a robust software, then assuredly you need this powerful tool.
Basic C++ Syntax

#include <iostream>
using namespace std;

int main(){
    string food1 = "pizza";
    
    cout << "I like " << food1 << endl; //to the console -> I like pizza
    
    return 0;
};

LOL, I like food.
worth noting: you can either save your file with the .cc or .cpp extension in c++.

Topics to look out for:

NB; This is outlined in no particular order

  • Datatypes

    • Variables
    • Assigning values to a variable
    • Dealing with numbers
  • Arrays

    • Working with arrays
    • Array types
    • Methods on arrays/manipulating
    • Looping through array
  • Operators

    • Assignment operators
    • Mathematical operators
    • Logical operators
    • Operator Overloading
  • Classes

  • Interective C++

    • Taking inout from user
    • Working with user's input/data
    • A first and basic project.

    User interaction

  • Working with functions

    • Understanding parameters and arguments
    • The function main and other declared funtions
  • OOP

    • Consruction
    • Inheritance
    • Polymorphism etc...

  • Projects
  • ATM
  • Smaller projects applications

And many more...

Take away: Good documentation of code and comments in code is xtics of a good programmer. MAKE IT A HABIT!
Write readable codes only-always


In-Scope

In this repo look out for some basics syntaxes and beginner-friendly programs to increase the likes & interest for this language
A careful tailored approach for anyone starting the C++ journey
Focuses on the various fundamentals required to muster the skill in writing good lines and robust algorithms.
For all your basics/fundamentals check out the source files.

Happy Coding #100DaysOfCode #softwareEngineering

Contributions

All and sundry willing to help in making the c++ journey worthwile can surely contribute to this project.
Add some interesting programs to enthuse beginners and intermediates alike.
Feel free to fork this repo to have an easy access, pull request & add those lines. I will be glad for your immense support & contribution for the fraternity
Let's reach the outer world.
Let's grow the tech family.

C++ Documentation Extra Info

Read more on C++ here
Also W3Schools have got the best environment to learn and to explore more on the language. Make use of it Click Here to learn more.
I recommend reading thoroughly the documentation to better understand how C++ behaves.

Disclaimer

This repository is for study purpose only and reference