Git Product home page Git Product logo

cpp's Introduction

๐Ÿ“š C++ Modules

badge

๐Ÿ“‹ Description

This repository contains a collection of C++ exercises aimed at improving your understanding and skills in C++ programming. The exercises cover various topics, including namespaces, classes, member functions, stdio streams, initialization lists, static, const, and other basic concepts.

๐Ÿ”จ General Rules

  • Compiling: Compile your code with c++ and the flags -Wall -Wextra -Werror. Your code should still compile if you add the flag -std=c++98.
  • Formatting and Naming Conventions:
    • Exercise directories will be named this way: ex00, ex01, ..., exn.
    • Name your files, classes, functions, member functions, and attributes as required in the guidelines.
    • Write class names in UpperCamelCase format. Files containing class code will always be named according to the class name.
  • Allowed/Forbidden:
    • You are allowed to use almost everything from the standard library. Use the C++-ish versions of C functions whenever possible.
    • External libraries such as C++11, Boost libraries, and the following functions are forbidden: *printf(), *alloc(), and free().

๐Ÿ’ก Design Requirements

  • Memory Management: Avoid memory leaks by properly managing memory allocation (using the new keyword) and deallocation.
  • Orthodox Canonical Form: From Module 02 to Module 09, your classes must be designed in the Orthodox Canonical Form, except when explicitly stated otherwise.
  • Header Files: Avoid function implementations in header files (except for function templates).
  • Independent Headers: Each header should be usable independently, including all necessary dependencies. Avoid problems with double inclusion by adding include guards.

cpp's People

Contributors

angelamcosta avatar

Stargazers

 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.