{"id":336626,"date":"2022-08-05T15:00:42","date_gmt":"2022-08-05T15:00:42","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=336626"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=336626","title":{"rendered":"<span>\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c escape-\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/679758\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/od\/wq\/aj\/odwqaj4feibrvtkkwalunshdaye.png\" data-src=\"https:\/\/habrastorage.org\/webt\/od\/wq\/aj\/odwqaj4feibrvtkkwalunshdaye.png\"\/><\/div>\n<p><\/a><br \/>  Osmanip \u2013 \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 C++, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 <a href=\"https:\/\/gist.github.com\/fnky\/458719343aabd01cfb17a3a4f7296797\">\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 ANSI<\/a> \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0442\u043e\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u0432 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0446\u0432\u0435\u0442\u0430\u043c\u0438 \u0438 \u0441\u0442\u0438\u043b\u044f\u043c\u0438, \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0438 \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0447\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432\u0440\u043e\u0434\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0438. \u0412\u0435\u0441\u044c \u044d\u0442\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0431\u0443\u0434\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u0438\u0434\u0430\u043d\u0438\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0432\u0438\u0434\u0430 \u043e\u0431\u0449\u0435\u043c\u0443 \u043f\u043e\u0442\u043e\u043a\u0443 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u043b\u0438 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0441 \u043a\u0443\u0440\u0441\u043e\u0440\u043e\u043c.<a name=\"habracut\"><\/a><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/archive\/main.zip\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0430\u0440\u0445\u0438\u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/a>;<\/li>\n<li><a href=\"https:\/\/www.codeproject.com\/KB\/Articles\/5337124\/main.zip\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e<\/a>.<\/li>\n<\/ul>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u041f\u041e \u0432 \u0441\u0432\u043e\u0451\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438\u043b\u0438 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435, \u0431\u0443\u0434\u044c\u0442\u0435 \u0434\u043e\u0431\u0440\u044b, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0439\u0442\u0435 \u043d\u0430 \u0435\u0433\u043e <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/blob\/main\/CITATION.cff\">\u0441\u0441\u044b\u043b\u043a\u0443<\/a>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0432\u043d\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0447\u0442\u0438\u0442\u0435 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/blob\/main\/CONTRIBUTING.md\">\u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b<\/a>.<\/p>\n<p>  \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043a\u043e\u0434\u0430 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"https:\/\/www.doxygen.nl\/manual\/starting.html\">Doxygen<\/a> \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 <a href=\"https:\/\/justwhit3.github.io\/osmanip\/\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e, \u0435\u0441\u0442\u044c \u0435\u0449\u0451 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\">\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 GitHub<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432.<\/p>\n<p>  \u0412\u043e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/88\/7u\/3h\/887u3h2-4f8vafuynmkf2tybhbm.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/88\/7u\/3h\/887u3h2-4f8vafuynmkf2tybhbm.gif\"\/><br \/>  <i><font color=\"#999999\">\u0426\u0432\u0435\u0442\u0430 \u0438 \u0441\u0442\u0438\u043b\u0438<\/font><\/i><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wu\/pv\/_5\/wupv_5wk3qs4in2eaihjnmtgcs8.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/wu\/pv\/_5\/wupv_5wk3qs4in2eaihjnmtgcs8.gif\"\/><br \/>  <i><font color=\"#999999\">\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/font><\/i><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yn\/e2\/nx\/yne2nxlovb2nm-e9hrod7hf-0le.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/yn\/e2\/nx\/yne2nxlovb2nm-e9hrod7hf-0le.gif\"\/><br \/>  <i><font color=\"#999999\">\u0414\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u0430\u044f \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435<\/font><\/i><\/p>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u041e\u0421:<\/p>\n<ul>\n<li>Linux;<br \/> \n<ul>\n<li>Ubuntu (\u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e);<\/li>\n<\/ul>\n<\/li>\n<li>Windows (\u0432\u0435\u0440\u0441\u0438\u044f 10 \u0438 \u0432\u044b\u0448\u0435);<br \/> \n<ul>\n<li>Cygwin64 (\u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e);<\/li>\n<li>MSYS2 (\u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e);<\/li>\n<li>MinGW (\u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e);<\/li>\n<li>WSL (\u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e);<\/li>\n<\/ul>\n<\/li>\n<li>MacOS.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0440\u0435\u043b\u0438\u0437\u043e\u0432<\/font><\/h2>\n<p>  <\/p>\n<ul>\n<li>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043a\u043b\u0430\u0441\u0441 <code><a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/blob\/main\/include\/manipulators\/printer.hpp#:~:text=*\/-,class%20OS_Decorator,-%7B\">OS_Decorator<\/a><\/code> \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0442\u043e\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Windows \u0438 MacOS;<\/li>\n<\/ul>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u0421\u043f\u0438\u0441\u043e\u043a \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439<\/font><\/h2>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u041c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 escape-\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 ANSI <\/font><\/h3>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/ANSI-escape-sequences-manipulators#colors-and-styles-manipulators\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0446\u0432\u0435\u0442\u043e\u043c \u0438 \u0441\u0442\u0438\u043b\u0435\u043c<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/manipulators\/colsty.hpp>  \/\/ \u0412\u044b\u0432\u043e\u0434 \u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 std::cout &lt;&lt; osm::feat( osm::col, \"red\" ) &lt;&lt; \"This string is red!\" &lt;&lt; osm::feat( osm::rst, \"color\" );  \/\/ \u0412\u044b\u0432\u043e\u0434 \u0436\u0438\u0440\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 std::cout &lt;&lt; osm::feat( osm::sty, \"red\" ) &lt;&lt; \"This string is bold!\" &lt;&lt; osm::feat( osm::rst, \"bd\/ft\" );<\/code><\/pre>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/ANSI-escape-sequences-manipulators#cursor-manipulators\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u043e\u043c<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/manipulators\/cursor.hpp>  \/\/ \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u0432\u043f\u0440\u0430\u0432\u043e \u043d\u0430 \u0434\u0432\u0430 \u043f\u0440\u043e\u0431\u0435\u043b\u0430 std::cout &lt;&lt; osm::feat( osm::crs, \"right\", 2 ) &lt;&lt; \"Cursor moved!\";<\/code><\/pre>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/ANSI-escape-sequences-manipulators#terminal-control-sequences\">\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/manipulators\/cursor.hpp>  \/\/ \u0412\u044b\u0432\u043e\u0434 \u0437\u0432\u0443\u043a\u0430 \u043a\u043e\u043b\u043e\u043a\u043e\u043b\u044c\u0447\u0438\u043a\u0430 std::cout &lt;&lt; osm::feat( osm::tcs, \"bell\" );<\/code><\/pre>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/ANSI-escape-sequences-manipulators#the-osmprint-function\">\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/manipulators\/printer.hpp>  \/\/ \u0410\u043d\u0430\u043b\u043e\u0433 Python \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \"print\" osm::print( std::cout, \"This is the \", \"\\\"print\\\" \",             \"function for the normal output stream! \", 100, \"% working!\" );<\/code><\/pre>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/ANSI-escape-sequences-manipulators#the-osmprint-function:~:text=osm%3A%3AOS_Decorator%20class-,Can%20be%20accessed%20with%3A,-%23include%20%3C\">\u041a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/manipulators\/printer.hpp>  osm::OS_Decorator my_shell;  \/\/ \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0441\u0442\u0438\u043b\u044f \u0438 \u0446\u0432\u0435\u0442\u0430 std::cout my_shell.setColor( \"green\", std::cout ); my_shell.setStyle( \"underlined\", std::cout );  my_shell( std::cout ) &lt;&lt; \"The stdout stream has been changed                           using the OS_Decorator class!\" &lt;&lt; \"\\n\";  \/\/ \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0441\u0442\u0438\u043b\u044f \u0438 \u0446\u0432\u0435\u0442\u0430 std::cerr my_shell.setColor( \"red\", std::cerr ); my_shell.setStyle( \"bold italics\", std::cerr ); \/\/ \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e 2 \u0441\u0442\u0438\u043b\u044f  my_shell( std::cerr ) &lt;&lt; \"The stderr stream has been changed                           using the OS_Decorator class!\" &lt;&lt; \"\\n\";<\/code><\/pre>\n<p>  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/ANSI-escape-sequences-manipulators\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 escape-\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u0442\u043e\u0438\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443:<\/p>\n<ul>\n<li>\u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u044b \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440 \u043a\u043e\u0434\u0430.<\/li>\n<li>\u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0441\u0430\u043c\u044b\u043c\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438.<\/li>\n<li>\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0441\u0441\u0430 OS Decorator \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0435\u0433\u043e \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c \u0434\u043e \u0435\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/font><\/h3>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Progress-bars#percentage-indicator\">\u041f\u0440\u043e\u0446\u0435\u043d\u0442\u043d\u044b\u0439 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/progressbar\/progressbar.hpp> #include &lt;osmanip\/utility\/options.hpp>  osm::ProgressBar&lt;int> percentage_bar;  percentage_bar.setMin( 5 ); percentage_bar.setMax ( 46 ); percentage_bar.setStyle( \"indicator\", \"%\" );  std::cout &lt;&lt; \"This is a normal percentage bar: \" &lt;&lt; \"\\n\"; osm::OPTION( osm::CURSOR::OFF ); \/\/ \u0421\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0430  for ( int i = percentage_bar.getMin(); i &lt; percentage_bar.getMax(); i++ )   {    percentage_bar.update( i );    \/\/\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439...   } osm::OPTION( osm::CURSOR::ON );<\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z4\/ah\/nu\/z4ahnumd-hofntxdstkntiwdcbg.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/z4\/ah\/nu\/z4ahnumd-hofntxdstkntiwdcbg.gif\"\/><\/div>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Progress-bars#loading-bar\">\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/progressbar\/progressbar.hpp> #include &lt;osmanip\/utility\/options.hpp>  osm::ProgressBar&lt;int> loading_bar( 3, 25 );  loading_bar.setStyle( \"loader\", \"#\" ); loading_bar.setBrackets( \"{\", \"}\" ); loading_bar.setMessage( \"processing...\" );  std::cout &lt;&lt; \"This is a normal loading bar: \" &lt;&lt; \"\\n\"; osm::OPTION( osm::CURSOR::OFF ); \/\/ \u0421\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0430 for ( int i = loading_bar.getMin(); i &lt; loading_bar.getMax(); i++ )  {   loading_bar.update( i );   \/\/\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439...  } osm::OPTION( osm::CURSOR::ON );<\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/0v\/kh\/p0\/0vkhp08qhw6xye2749ues_leqga.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/0v\/kh\/p0\/0vkhp08qhw6xye2749ues_leqga.gif\"\/><\/div>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Progress-bars#full-progress-bar\">\u0421\u043c\u0435\u0448\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441 \u0431\u0430\u0440<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/progressbar\/progressbar.hpp> #include &lt;osmanip\/utility\/options.hpp>  osm::ProgressBar&lt;int> progress_bar( 3, 25 );  progress_bar.setStyle( \"complete\", \"%\", \"\u25a0\" ); progress_bar.setBrackets( \"[\", \"]\" ); progress_bar.setMessage( \"elaborating...\" ); progress_bar.setRemainingTimeFlag( \"on\" ); progress_bar.setColor( \"red\" );  std::cout &lt;&lt; \"This is a mixed progress bar with color               and time remaining info: \" &lt;&lt; \"\\n\"; osm::OPTION( osm::CURSOR::OFF ); \/\/ \u0421\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0430 for ( int i = progress_bar.getMin(); i &lt; progress_bar.getMax(); i++ )  {   progress_bar.update( i );   \/\/\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439...  } osm::OPTION( osm::CURSOR::ON );<\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/f3\/jy\/ys\/f3jyysv_rcjcbw2u7pl6-nx2sfc.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/f3\/jy\/ys\/f3jyysv_rcjcbw2u7pl6-nx2sfc.gif\"\/><\/div>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Progress-bars#progress-spinner\">\u0421\u043f\u0438\u043d\u043d\u0435\u0440<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;iostream> #include &lt;osmanip\/progressbar\/progressbar.hpp> #include &lt;osmanip\/utility\/options.hpp>  osm::ProgressBar&lt;int> spinner;  spinner.setMin( 2 ); spinner.setMax ( 33 ); spinner.setStyle( \"spinner\", \"\/-\\\\|\" );  std::cout &lt;&lt; \"This is a progress spinner: \" &lt;&lt; \"\\n\"; osm::OPTION( osm::CURSOR::OFF ); \/\/ \u0421\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0430 for ( int i = spinner.getMin(); i &lt; spinner.getMax(); i++ )  {   spinner.update( i );   \/\/\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439...  } osm::OPTION( osm::CURSOR::ON );<\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zj\/c0\/im\/zjc0imojupccasyf_mvqy7pxjyg.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/zj\/c0\/im\/zjc0imojupccasyf_mvqy7pxjyg.gif\"\/><\/div>\n<p>  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Progress-bars\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f:<\/p>\n<ul>\n<li>\u043a\u0440\u0430\u0439\u043d\u044f\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f;<\/li>\n<li>\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430 (<code>integer<\/code>, <code>float<\/code>, <code>double<\/code> \u0438 \u043f\u0440\u043e\u0447\u0438\u0445);<\/li>\n<li>\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c\u0430 \u0438 \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0438 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0438\u0445;<\/li>\n<li>\u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f (\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0441\u0442\u0438\u043b\u044c, \u0446\u0432\u0435\u0442, \u0442\u0438\u043f \u0441\u043a\u043e\u0431\u043e\u043a, \u043e\u0441\u0442\u0430\u0432\u0448\u0435\u0435\u0441\u044f \u0432\u0440\u0435\u043c\u044f \u0438 \u0442.\u0434.). \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441 \u0431\u0430\u0440\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. <\/li>\n<li>\u043f\u043e\u0442\u043e\u043a\u043e\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c, \u0442\u043e \u0435\u0441\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u0413\u0440\u0430\u0444\u0438\u043a\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435<\/font><\/h3>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Terminal-graphics#canvases\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0439<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;osmanip\/manipulators\/colsty.hpp> #include &lt;osmanip\/graphics\/canvas.hpp>  osm::Canvas canvas(10,10);  canvas.setBackground( '.', osm::feat( osm::col, \"bg white\" ) +                       osm::feat( osm::col, \"black\" ) ); std::cout &lt;&lt; \"Display an animation in a canvas\\n\";  for( uint i = 0; i &lt; 10; i++ )  {   canvas.clear();   canvas.put( 0, 2, 'x' );   canvas.put( i, 3, 'A', osm::feat( osm::col, \"red\" ) );   canvas.put( 5, 0, 'B', osm::feat( osm::col, \"blue\" ) );   canvas.put( 7, 8, 'Z', osm::feat( osm::col, \"bg cyan\" ) +               osm::feat( osm::col, \"black\" ) + osm::feat( osm::sty, \"bold\" ) );   canvas.refresh();  }<\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/jk\/sr\/_v\/jksr_v9ml2ak_k3tzjo6v92yln8.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/jk\/sr\/_v\/jksr_v9ml2ak_k3tzjo6v92yln8.gif\"\/><\/div>\n<p>  <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Terminal-graphics#2D-graphics\">\u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 2D-\u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432<\/a>:<\/p>\n<pre><code class=\"cpp\">#include &lt;functional> #include &lt;osmanip\/manipulators\/colsty.hpp> #include &lt;osmanip\/graphics\/canvas.hpp>  osm::Plot2DCanvas plot_2d_canvas( 50, 20 );  std::cout &lt;&lt; \"\\n\" &lt;&lt; \"Plot2DCanvas with sin and cos\" &lt;&lt; \"\\n\"; plot_2d_canvas.setBackground( ' ', osm::feat( osm::col, \"bg white\" ) ); plot_2d_canvas.enableFrame( true ); plot_2d_canvas.setFrame( osm::FrameStyle::BOX, osm::feat( osm::col, \"bg white\" ) + osm::feat( osm::col, \"black\" ) ); plot_2d_canvas.enableFrame( true ); plot_2d_canvas.setFrame( osm::FrameStyle::BOX, osm::feat( osm::col, \"bg white\" ) + osm::feat( osm::col, \"black\" ) ); plot_2d_canvas.setScale( 1\/3.14, 0.2) ;  for( float i = 0; i &lt; 40; i++ )  {   plot_2d_canvas.setOffset( i\/3.14, -2 );   plot_2d_canvas.clear();   plot_2d_canvas.draw( std::function &lt;float( float )>( []( float x ) ->                        float{ return std::cos( x ); } ), 'X',                        osm::feat( osm::col, \"bg white\" ) +                        osm::feat( osm::col, \"bd red\" ) );   plot_2d_canvas.draw( std::function &lt;float( float )>( []( float x ) ->                        float{ return std::sin( x ); } ), 'X',                        osm::feat( osm::col, \"bg white\" ) +                        osm::feat( osm::col, \"bd blue\" ) );   plot_2d_canvas.refresh();   sleep_for( milliseconds( 100 ) );  }<\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zl\/p7\/wt\/zlp7wtkeov8e7ztbgnde5znmfvc.gif\" data-src=\"https:\/\/habrastorage.org\/webt\/zl\/p7\/wt\/zlp7wtkeov8e7ztbgnde5znmfvc.gif\"\/><\/div>\n<p>  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Terminal-graphics\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:<\/p>\n<ul>\n<li>\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u0438\u043c\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c\u0438 C++, \u0438 \u044d\u0442\u0430 \u043e\u0434\u043d\u0430 \u0438\u0437 \u043d\u0438\u0445;<\/li>\n<li>\u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u0438;<\/li>\n<li>\u0431\u043e\u043b\u0435\u0435 \u0448\u0443\u0441\u0442\u0440\u0430\u044f \u0438 \u0443\u0434\u043e\u0431\u043d\u0430\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0431\u0435\u0437 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u0432 GUI.<\/li>\n<\/ul>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 UNICODE \u0438 ANSI \u0432 Windows<\/font><\/h3>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ \u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f escape-\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 ANSI osm::OPTION( osm::ANSI::ON ); \/\/ \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439... osm::OPTION( osm::ANSI::ON );   \/\/ \u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 unicode osm::OPTION( osm::UNICODECH::ON ); \/\/ \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439... osm::OPTION( osm::UNICODECH::ON );<\/code><\/pre>\n<p>  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/wiki\/Options\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<h2><font color=\"#3AC1EF\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/font><\/h2>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/font><\/h3>\n<p>  <font color=\"#3AC1EF\">1.<\/font> \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/releases\">\u0440\u0435\u043b\u0438\u0437\u043e\u0432<\/a> \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f.<\/p>\n<p>  <font color=\"#3AC1EF\">2.<\/font> \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0432 \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433.<\/p>\n<p>  <font color=\"#3AC1EF\">3.<\/font> \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430.<\/p>\n<pre><code class=\"bash\">.\/script\/install.sh<\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043f\u043e\u0434 Ubuntu, MacOS, Windows \u0438 \u043f\u0440\u043e\u0447\u0438\u043c\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438.<\/p>\n<blockquote><p><i>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/i>: \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0432 Cygwin64, \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c <code>\\r<\/code>. \u0427\u0442\u043e\u0431\u044b \u0435\u0451 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>dos2unix<\/code>.<\/p><\/blockquote>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 <i>\/usr\/lib<\/i> \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u0430 \u0444\u0430\u0439\u043b\u044b \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u043f\u0443\u0442\u0438 <i>\/usr\/include<\/i>.<\/p>\n<blockquote><p><i>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/i>: \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0432 MacOS \u0438\u043b\u0438 Windows, \u043f\u0443\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f (\u0441\u043c. <i>install.sh<\/i>).<\/p><\/blockquote>\n<p>  \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b (\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c):<\/p>\n<ul>\n<li>C++17;<\/li>\n<li>\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 g++ (\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f 9.3.0);<\/li>\n<li><a href=\"https:\/\/www.opensourceforu.com\/2012\/06\/gnu-make-in-detail-for-beginners\/#:~:text=Installing%20GNU%20Make,install%20build%2Dessential.\">GNU make<\/a>;<\/li>\n<li><a href=\"https:\/\/www.boost.org\/\">\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Boost<\/a>;<\/li>\n<li><a href=\"https:\/\/github.com\/JustWhit3\/arsenalgear-cpp\">\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 arsenalgear<\/a>.<\/li>\n<\/ul>\n<p>  \u041d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432:<\/p>\n<ul>\n<li><a href=\"https:\/\/valgrind.org\/\">Valgrind<\/a> \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 <i>debug.sh<\/i>;<\/li>\n<li><a href=\"https:\/\/github.com\/danmar\/cppcheck\">Cppcheck<\/a> \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 <i>debug.sh<\/i>;<\/li>\n<li><a href=\"https:\/\/stackoverflow.com\/questions\/20756924\/how-can-i-install-clang-format-in-ubuntu#:~:text=16.04%2C%20simply%20do%3A-,sudo%20apt%20install%20clang%2Dformat,-Share\">Clang formatter<\/a> \u0434\u043b\u044f \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u043a\u043e\u0434\u0430 \u043a \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u0430\u043c;<\/li>\n<li><a href=\"https:\/\/www.techwalla.com\/articles\/how-to-install-wget-in-ubuntu\">wget<\/a> \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439;<\/li>\n<li><a href=\"https:\/\/www.mysoftkey.com\/linux\/how-to-do-zip-and-unzip-file-in-ubuntu-linux\/\">unzip<\/a> \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u0430\u0440\u0445\u0438\u0432\u043d\u044b\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438;<\/li>\n<li><a href=\"https:\/\/www.doxygen.nl\/manual\/starting.html\">Doxygen<\/a> \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435;<\/li>\n<li><a href=\"https:\/\/github.com\/onqtam\/doctest\">doctest<\/a> \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f;<\/li>\n<li><a href=\"https:\/\/pypi.org\/project\/hurry.filesize\/\">hurry.filesize<\/a> \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 <i>size_of_dir.py<\/i>;<\/li>\n<li><a href=\"https:\/\/pypi.org\/project\/termcolor\/\">termcolor<\/a> \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 <i>size_of_dir.py<\/i>.<\/li>\n<\/ul>\n<p>  <font color=\"#3AC1EF\">4.<\/font> <i>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e<\/i>: \u0434\u043b\u044f \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f:<\/p>\n<pre><code class=\"bash\">.\/scripts\/update.sh .\/scripts\/install.sh<\/code><\/pre>\n<p>  <font color=\"#3AC1EF\">5.<\/font> <i>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e<\/i>: \u0434\u043b\u044f \u0434\u0435\u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<pre><code class=\"bash\">.\/scripts\/uninstall.sh<\/code><\/pre>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435<\/font><\/h3>\n<p>  \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:<\/p>\n<pre><code class=\"cpp\">#include &lt;osmanip\/module_folder\/module_name.hpp><\/code><\/pre>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0444\u043b\u0430\u0433 <code>-losmanip<\/code> \u0434\u043b\u044f \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/p>\n<blockquote><p><i>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/i>: \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u043b\u0430\u0433 <code>-pthread<\/code>, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0442\u043e\u043a\u043e\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432\u0440\u043e\u0434\u0435 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/blob\/main\/include\/progressbar\/multi_progress_bar.hpp\"><i>progressbar\/multi_progress_bar.hpp<\/i><\/a>.<\/p><\/blockquote>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/font><\/h3>\n<p>  \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432:<\/p>\n<pre><code class=\"cpp\">make main<\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432:<\/p>\n<pre><code class=\"cpp\">.\/bin\/manipulators .\/bin\/progressbar .\/bin\/graphics<\/code><\/pre>\n<p>  <\/p>\n<blockquote><p><i>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/i>: \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0432 Windows, \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0430 <i>.exe<\/i>.<\/p><\/blockquote>\n<p>  \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432:<\/p>\n<pre><code class=\"cpp\">make tests<\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0441\u0442\u043e\u0432:<\/p>\n<pre><code class=\"cpp\">.\/bin\/tests<\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:<\/p>\n<pre><code class=\"cpp\">make clean<\/code><\/pre>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b<\/font><\/h2>\n<p>  \u042f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u043e\u0435-\u043a\u0430\u043a\u0438\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 <a href=\"https:\/\/github.com\/JustWhit3\/osmanip\/blob\/main\/scripts\">scripts<\/a>. \u041f\u043e\u0441\u043b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438\u0437 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f.<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 <i>debug.sh<\/i> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u0432 Valgrind \u0438 Cppcheck \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u043a\u043e\u0434\u0430.<\/p>\n<p>  Valgrind \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b:<\/p>\n<pre><code class=\"bash\">.\/scripts\/debug_cpp.sh [valgrind-tool-name] [executable-name]<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"1c\">osmanip\/ \u251c\u2500\u2500 .github\/ \u2502   \u251c\u2500\u2500 workflows\/ \u2502   \u2502   \u251c\u2500\u2500 DocGenerator.yml \u2502   \u2502   \u251c\u2500\u2500 codeql-analysis.yml \u251c\u2500\u2500 img\/ \u251c\u2500\u2500 include\/ \u2502   \u251c\u2500\u2500 graphics\/ \u2502   \u2502   \u251c\u2500\u2500 canvas.hpp \u2502   \u2502   \u251c\u2500\u2500 plot_2D.hpp \u2502   \u251c\u2500\u2500 manipulators\/ \u2502   \u2502   \u251c\u2500\u2500 colsty.hpp \u2502   \u2502   \u251c\u2500\u2500 cursor.hpp \u2502   \u2502   \u251c\u2500\u2500 common.hpp \u2502   \u2502   \u251c\u2500\u2500 printer.hpp \u2502   \u251c\u2500\u2500 progressbar\/ \u2502   \u2502   \u251c\u2500\u2500 progress_bar.hpp \u2502   \u2502   \u251c\u2500\u2500 multi_progress_bar.hpp \u2502   \u251c\u2500\u2500 utility\/ \u2502   \u2502   \u251c\u2500\u2500 windows.hpp \u2502   \u2502   \u251c\u2500\u2500 options.hpp \u251c\u2500\u2500 src\/ \u2502   \u251c\u2500\u2500 graphics\/ \u2502   \u2502   \u251c\u2500\u2500 canvas.cpp \u2502   \u2502   \u251c\u2500\u2500 plot_2D.cpp \u2502   \u251c\u2500\u2500 manipulators\/ \u2502   \u2502   \u251c\u2500\u2500 colsty.cpp \u2502   \u2502   \u251c\u2500\u2500 cursor.cpp \u2502   \u2502   \u251c\u2500\u2500 common.cpp \u2502   \u2502   \u251c\u2500\u2500 printer.hpp \u2502   \u251c\u2500\u2500 progressbar\/ \u2502   \u2502   \u251c\u2500\u2500 progress_bar.cpp \u2502   \u2502   \u251c\u2500\u2500 multi_progress_bar.cpp \u2502   \u251c\u2500\u2500 utility\/ \u2502   \u2502   \u251c\u2500\u2500 windows.cpp \u251c\u2500\u2500 examples\/ \u2502   \u251c\u2500\u2500 manipulators.cpp \u2502   \u251c\u2500\u2500 progressbar.cpp \u2502   \u251c\u2500\u2500 graphics.cpp \u251c\u2500\u2500 scripts\/ \u2502   \u251c\u2500\u2500 debug.sh \u2502   \u251c\u2500\u2500 install.sh \u2502   \u251c\u2500\u2500 uninstall.sh \u2502   \u251c\u2500\u2500 update.sh \u2502   \u251c\u2500\u2500 size_of_dir.py \u251c\u2500\u2500 test\/ \u2502   \u251c\u2500\u2500 graphics\/ \u2502   \u2502   \u251c\u2500\u2500 tests_canvas.cpp \u2502   \u2502   \u251c\u2500\u2500 tests_plot_2D.cpp \u2502   \u251c\u2500\u2500 manipulators\/ \u2502   \u2502   \u251c\u2500\u2500 tests_common.cpp \u2502   \u2502   \u251c\u2500\u2500 tests_colsty.cpp \u2502   \u2502   \u251c\u2500\u2500 tests_cursor.cpp \u2502   \u2502   \u251c\u2500\u2500 tests_printer.cpp \u2502   \u251c\u2500\u2500 progressbar\/ \u2502   \u2502   \u251c\u2500\u2500 tests_progress_bar.cpp \u2502   \u2502   \u251c\u2500\u2500 tests_multi_progress_bar.cpp \u2502\u2500\u2500 README.md \u2502\u2500\u2500 CONTRIBUTING.md \u2502\u2500\u2500 LICENSE \u2502\u2500\u2500 CITATION.cff \u2502\u2500\u2500 Makefile \u2502\u2500\u2500 Doxyfile \u2502\u2500\u2500 .gitignore \u2502\u2500\u2500 .clang-format \u2502\u2500\u2500 .valgrindrc \u2502\u2500\u2500 .gitignore \u2502\u2500\u2500 .all-contributorsrc<\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u043f\u043b\u0430\u043d\u044b<\/font><\/h2>\n<p>  <\/p>\n<ul>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 escape-\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 ANSI:<br \/> \n<ul>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 UNICODE;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043b\u0430\u0441\u0441 <code>OS_decorator<\/code> \u043d\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b;<\/li>\n<li>\u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0432\u044b\u0432\u043e\u0434\u043e\u043c.<\/li>\n<\/ul>\n<\/li>\n<li>\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f:<br \/> \n<ul>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <code>elapsedTime()<\/code> \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u0438\u043c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 <code>getTime()<\/code>;<\/li>\n<\/ul>\n<\/li>\n<li>\u0413\u0440\u0430\u0444\u0438\u043a\u0430 \u0434\u043b\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430:<br \/> \n<ul>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u0434\u043b\u044f \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432 \u043b\u0435\u0433\u0435\u043d\u0434\u043e\u0439;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0430;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u043f\u0446\u0438\u044e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043e\u0441\u0435\u0439;<\/li>\n<li>\u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c 2D \u0433\u0440\u0430\u0444\u0438\u043a\u0443 \u0434\u043e 3D;<\/li>\n<\/ul>\n<\/li>\n<li>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b:<br \/> \n<ul>\n<li>\u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e CMake;<\/li>\n<li>\u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0430\u043c\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u0438 \u043f\u0440\u043e\u0447\u0438\u0445 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>  <a href=\"http:\/\/ruvds.com\/ru-rub?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=Bright_Translate&amp;utm_content=biblioteka_vyvoda_s_ispolzovaniem_escape_posledovatelnostej\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/sz\/7j\/pf\/sz7jpfj8i1pa6ocj-eia09dev4q.png\" data-src=\"https:\/\/habrastorage.org\/webt\/sz\/7j\/pf\/sz7jpfj8i1pa6ocj-eia09dev4q.png\"\/><\/a><\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/679758\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/679758\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/679758\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/od\/wq\/aj\/odwqaj4feibrvtkkwalunshdaye.png\" data-src=\"https:\/\/habrastorage.org\/webt\/od\/wq\/aj\/odwqaj4feibrvtkkwalunshdaye.png\"\/><\/div>\n<p><\/a><br \/>  Osmanip \u2013 \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 C++, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 <a href=\"https:\/\/gist.github.com\/fnky\/458719343aabd01cfb17a3a4f7296797\">\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 ANSI<\/a> \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0442\u043e\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u0432 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0446\u0432\u0435\u0442\u0430\u043c\u0438 \u0438 \u0441\u0442\u0438\u043b\u044f\u043c\u0438, \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0438 \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0447\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432\u0440\u043e\u0434\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0438. \u0412\u0435\u0441\u044c \u044d\u0442\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0431\u0443\u0434\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u0438\u0434\u0430\u043d\u0438\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0432\u0438\u0434\u0430 \u043e\u0431\u0449\u0435\u043c\u0443 \u043f\u043e\u0442\u043e\u043a\u0443 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u043b\u0438 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0441 \u043a\u0443\u0440\u0441\u043e\u0440\u043e\u043c.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-336626","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/336626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=336626"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/336626\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=336626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=336626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=336626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}