Git Product home page Git Product logo

cpp-module-00's Introduction

CPP-Module-00

This is my solution for the first module of the C++ modules of 42school.

result

List of all my cpp-modules

In general

C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes" (source: Wikipedia).

This project was my first contact to write programms in C++.
All of those exercises are compilable with the -std=c++98-flag, since this was a requirement for this project.
All exercises where compiled and tested on macOS Catalina 10.15.7 and Ubuntu 20.04.4 LTS.

Exercise 00

The Goal of this exercise was to write a really simple c++ style programm, but without any classes yet, just to get familiar with the use of i.e. std::cout.

You can compile this project with make, make all or make re.
Then use it with ./megaphone "Argument_you_want_to_change_to_all_CAPS"

Exercise 01

This subject was a little more sophisticated than the one before.
First time using classes.

This programm resembles a phonebook, where you can store up to 8 contacts, and display the stored information during runtime.
When the programm is terminated in any way, all contacts are lost.
The phonebook also has instructions and descriptive error messages that tell you what to do and how to use it correctly.

Usage:

You can compile this project with make, make all or make re.
Then you can run it with ./phonebook.
After that, just follow the instructions of the phonebook.

Exercise 02

The scope of this exercise was to re-engineer the Account.cpp file from the given tests.cpp, Account.hpp and 19920104_091532.log files.

If you compare my output (my.log) with the original .log file, the only difference is the timestamp, which is expected.
Another difference will occure only when running it on macOS, where the order of the decronstruction is reversed.

You can compile this project with make, make all or make re.
Then you can run it with ./leak_information.

cpp-module-00's People

Contributors

tblaase avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ekern42

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.