Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polygon

Short description of this project

It is simple polygon library with console dialog. You can produce operations with polygonal shapes:

  • add point
  • move it
  • rotate it
  • display points
  • count the gravity point

Compiling

Project has Makefile so you can just download it and run:

make all
./polygon

Makefile has different options:

  • clean
    • clears whole directory from .o and binary files
  • all
    • builds project with dialog module
  • check
    • builds check directory with tests
    • NOT WORKING YET

Notes

Project builds for C++11 with flags -Werror -Wpedantic -Wall Remember about it when you will try to make the pull request :)

Known issues

  • test doesn't run
  • strange behavior with rotate operation
  • stream doesn't clean up during dialog work

Meta

Created for C++ course in MEPhI Yakovenko Ivan VK | ivan.yakovenko@icloud.com

Contributing

  1. Fork it (https://github.com/meyakovenkoj/polygon/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Polygon-making class in C++ using all principles of object-oriented programming

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages