Code Monkey home page Code Monkey logo

iterators's Introduction

iterators

This code in this repository creates a simple C++ value class and a custom C++ container class, including iterators, for objects of the value class. The value class and the container class are templated so that you can create value and container classes that hold different value types. See the article Custom C++ Container Classes With Iterators for a description of the various classes.

In addition to the templated classes, the project includes both a test program and unit tests using GoogleTest.

Requirements

As a minimum:

  • build tools including a C++17 compiler
  • CMake
  • internet access for downloading this repository and GoogleTest.

Recommendations

  • an IDE that supports C++.

All C++ IDEs either use CMake directly or convert CMake files into the IDE's build system files.

Notes

GoogleTest

The project in this repository uses GoogleTest for compiling and executing unit tests. You do not need to download, build, and install GoogleTest yourself. The CMakeLists.txt file in the tests directory downloads the GoogleTest master branch from GitHub, and GoogleTest will be built the first time you run a build.

Compilers and Operating Systems

The project in this repository has been built on Windows 10 using MSVC and on Ubuntu 20.04 LTS using g++. As long as you use a system that supports the minimum requirements that are listed above, you should have no trouble building this project.

iterators's People

Contributors

jimorc avatar

Stargazers

Gohar Irfan Chaudhry avatar Deepak Surti avatar

Watchers

James Cloos avatar  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.