Git Product home page Git Product logo

joshlospinoso-cplusplusafpi's Introduction

Exercises-From-CPP-A-Fast-Paced-Introduction-by-Josh-Lospinoso

Why?

My journey in learning C++ started back in 2018. Fast forward to one year later towards the end of 2019, I decided to brush up on the basics again and learn modern practices in C++. I stumbled upon this book and came to realization that there are no online sources that gives solutions to these exercises found at the end of each chapter. Why does it matter? For me, beginners who want to learn programming for the first time, especially a language like C++, won't gain much just by reading the chapters and doing the exercises without knowing if they wrote their code well. It would be nice to supply them with solutions for them to compare their work against others and see if their approach is at least sufficient compared to the solution.

Credibility

I will like to meantion that I am still learning C++ to this day, and I am working on my undergraduate degree in the meantime. I am no professional nor a beginner.

About the exercises

I will state some facts:

  1. I frame from using printf() but instead choose to use std::cout << which is the prefer way to write to console output in C++.

  2. POD types (Plain old data types like struct) is what I won't prefer or use; however, I may make an exception for the exercises. If not, I'll use the class keyword and prefer data hiding.

  3. I may or may not use concepts that were not introduced in a following chapter, but I will leave a comment explaining what it means. For example: In chapter 2 exercise, I used the keyword const when passing an enum class object to reframe the idea that it is not intended to be modified but rather be passed as read-only.

Part 2

Note: On a Linux machine, I placed the catch.hpp file in the default searach path of g++: /usr/include/c++/11

Feedback

For anyone who is experienced in writing C++ code (or anyone who will like to give tips/advice about this repo), I will gladly accept feedback in what can be done better! :)

joshlospinoso-cplusplusafpi's People

Contributors

glucu avatar

Stargazers

 avatar  avatar  avatar Antonio Forgione avatar

Watchers

 avatar

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.