GithubHelp home page GithubHelp logo

mayya-rozhnova / templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexey-sidnev/templates

0.0 2.0 0.0 5.1 MB

The task for implementation of sorting function with templates in C ++

C++ 0.81% Python 0.83% C 98.33% Batchfile 0.02%

templates's Introduction

Шаблоны (C++)

Постановка задачи

Необходимо взять за основу проект templates (./solutions/base-version) и реализовать в нём шаблонный класс Sorter, который содержит статический метод sort, выполняющий сортировку. В проект можно добавлять новые файлы.

Полученная программа должна компилироваться и выполнять сортировку для всех тестов из функции main. Программа считается сданной, если Pull request в upstream репозиторий в ветку solutions одобрен.

Этапы выполнения

  1. Выполнить fork.
  2. Скопировать ./solutions/base-version в ./solutions/<ФИО>.
  3. Добавить в проект новый файл и реализовать в нём шаблонный класс Sorter и шаблонный класс сравнения двух элементов. Для типа Complex потребуется специализация шаблона.
  4. Сделать Pull request в upstream репозиторий в ветку solutions.

templates's People

Contributors

alexey-sidnev 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.