{"id":105,"date":"2011-10-17T21:33:52","date_gmt":"2011-10-17T18:33:52","guid":{"rendered":"http:\/\/www.jakeroid.com\/?p=105"},"modified":"2022-06-25T17:24:13","modified_gmt":"2022-06-25T14:24:13","slug":"probuem-programmirovat-v-linux","status":"publish","type":"post","link":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/","title":{"rendered":"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux"},"content":{"rendered":"<div class=\"entry\">\n<div dir=\"ltr\" style=\"text-align: left;\">\n<div>\u041d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043c\u044b \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u0432\u043e\u044e \u043f\u0435\u0440\u0432\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043d\u0430 &#171;\u0421&#187; \u0432 Linux. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<\/p>\n<ul style=\"text-align: left;\">\n<li>\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 Linux;<\/li>\n<li>\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440, \u0442\u043e \u0435\u0441\u0442\u044c &#171;gcc&#187;;<\/li>\n<li>\u0443\u043c\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u043e\u0439;<\/li>\n<\/ul>\n<\/div>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0449\u0435 \u043d\u0435\u0442\u0443 Linux&#8217;a, \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <a href=\"http:\/\/jakeroid.blogspot.com\/2011\/09\/linux.html\">\u044d\u0442\u043e\u0439<\/a> \u0441\u0442\u0430\u0442\u044c\u0435\u0439. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0448\u0443 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043a\u0440\u043e\u043c\u0435 &#171;hello world&#187; \u043c\u044b \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043f\u0430\u0440\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u043a \u0438\u0437 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442 532\u0430 \u0433\u0440\u0443\u043f\u043f\u044b(\u041e\u0413\u0410\u0425, \u0424\u0418\u0422, 2011 \u0433\u043e\u0434).<\/p>\n<p>\u0417\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n<p><!--more-->\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u0417\u0430\u043e\u0434\u043d\u043e \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b:<\/p>\n<p><a href=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-131 size-full aligncenter\" title=\"\u0437\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430\" src=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png\" alt=\"\" width=\"924\" height=\"753\" \/><\/a>\u0418\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u0435\u043c &#171;ctrl + alt + 1&#187;. \u0421\u043e\u0432\u0435\u0442\u0443\u044e \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0432 \u0433\u0443\u0433\u043b\u0435 \u0438 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432 linux.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e. \u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u0448\u043b\u0438 \u043d\u0435 \u043f\u043e\u0434 root&#8217;\u043e\u043c, \u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a:<\/p>\n<pre class=\"brush:bash\">su root<\/pre>\n<p>\u0412\u0432\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c root&#8217;a. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c gcc \u0438 mc:<\/p>\n<pre class=\"brush:bash\">apt-get install gcc mc<\/pre>\n<p>\u0423 \u043c\u0435\u043d\u044f \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c mc:<\/p>\n<p><a href=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/ustanovka-mc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-132 size-full aligncenter\" title=\"\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 mc\" src=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/ustanovka-mc.png\" alt=\"\" width=\"736\" height=\"504\" \/><\/a>\u041f\u0440\u043e\u0441\u0442\u043e \u0432\u0432\u043e\u0436\u0443 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0443\u044e &#171;Y&#187; \u0438 \u0436\u043c\u0443 &#171;enter&#187;. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 apt-get \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0432\u0441\u0435 \u0441\u0430\u043c\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e. \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c mc, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b &#171;mc&#187;. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<pre class=\"brush:bash\">touch hello.c<\/pre>\n<p>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u0432 mc \u0438 \u0436\u043c\u0435\u043c &#171;F4&#187;, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044f \u0435\u0433\u043e \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041d\u0430\u043f\u0438\u0448\u0435\u043c hello world:<\/p>\n<pre class=\"brush:cpp\">#include &lt;stdio.h&gt; \/\/\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\n\n\/\/main \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\nint main(int argc, char* argv[]) \/\/\u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 argc \u0438 argv \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043d\u0438\u0436\u0435\n{\n    printf(\"Hello world!n\"); \/\/\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043f\u043e\u0442\u043e\u043a\n    return 0; \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 main\n}<\/pre>\n<p>\u041f\u0440\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0438 main: argc &#8212; \u043e\u0442 &#171;argument counter&#187; &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, argv &#8212; \u043c\u0430\u0441\u0441\u0438\u0432 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u043e\u043a. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b \u043f\u0438\u0448\u0438\u0442\u0435:<\/p>\n<pre class=\"brush:bash\">rm dir_name -r<\/pre>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <strong>rm<\/strong> \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0442\u0440\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430: <em>rm<\/em>, <em>dir_name<\/em> \u0438 <em>-r<\/em>. \u0422\u043e \u0435\u0441\u0442\u044c <strong>argc<\/strong> \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u0435\u043d <em>3<\/em>, <strong>argv[1]<\/strong> &#8212; <em>&#171;dir_name&#187;<\/em>, <strong>argv[2]<\/strong> &#8212; <em>&#171;-r&#187;<\/em>, \u0430 <strong>argv[0]<\/strong> &#8212; <em>rm<\/em>. \u041f\u0440\u043e\u0448\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, <strong>argv[0]<\/strong> \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0430\u0432\u0435\u043d \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0442\u043e\u0447\u043d\u0435\u0435 \u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430\u0441\u044c.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b. \u041f\u0440\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b, \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u0438 \u043f\u0440\u043e\u0447\u0435\u0435 \u043f\u0440\u0435\u043c\u0443\u0434\u0440\u043e\u0441\u0442\u0438 gcc \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0432 \u0433\u0443\u0433\u043b\u0435, \u0438\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u043c\u0435\u043d\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e. \u0410 \u043c\u044b \u043f\u043e\u0439\u0434\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043f\u0443\u0442\u0435\u043c:<\/p>\n<pre class=\"brush:bash\">gcc -o hello hello.c<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0434\u0430\u0447\u043d\u043e, gcc \u043d\u0435 \u0441\u043e\u043e\u0431\u0449\u0438\u0442 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445, \u0430 \u0432 \u043f\u0430\u043f\u043a\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0441 \u0438\u043c\u0435\u043d\u0435\u043c &#171;hello&#187;. \u0427\u0442\u043e \u0431\u044b \u0435\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c:<\/p>\n<pre class=\"brush:bash\">.\/hello<\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<p><a href=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/kompilyatsiya-hello-world.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133 size-full aligncenter\" title=\"\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f hello world\" src=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/kompilyatsiya-hello-world.png\" alt=\"\" width=\"505\" height=\"140\" \/><\/a>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u041d\u0430\u0440\u0438\u0441\u0443\u0435\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 \u043a\u0432\u0430\u0434\u0440\u0430\u0442, \u043f\u0440\u0438\u0447\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u0430\u043c \u0437\u0430\u0434\u0430\u0435\u0442 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0443 \u0441\u0442\u043e\u0440\u043e\u043d\u044b.<\/p>\n<p>\u0418 \u0442\u0430\u043a \u043f\u043e \u044d\u0442\u0430\u043f\u0430\u043c:<\/p>\n<ol style=\"text-align: left;\">\n<li>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0443 \u0441\u0442\u043e\u0440\u043e\u043d\u044b;<\/li>\n<li>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0440\u0430\u0432\u043d\u043e\u0435 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b;<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435;<\/li>\n<\/ol>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u0432\u0430 \u0446\u0438\u043a\u043b\u0430. \u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0446\u0438\u043a\u043b for. \u0415\u0433\u043e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f:<\/p>\n<p><strong>for (<\/strong><em>\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f_\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<\/em><strong>; <\/strong><em>\u0443\u0441\u043b\u043e\u0432\u0438\u0435_\u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f_\u0446\u0438\u043a\u043b\u0430<\/em><strong>; <\/strong><em>\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435_\u043f\u0440\u0438_\u043a\u0430\u0436\u0434\u043e\u0439_\u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438<\/em><strong>)<\/strong><\/p>\n<p>\u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre class=\"brush:cpp\">for (i = 0; i &lt; 10; ++i)\n    printf(\"Vasya Pupkinn\");<\/pre>\n<p>\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b?<\/p>\n<ol style=\"text-align: left;\">\n<li>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 i \u0440\u0430\u0432\u043d\u044b\u043c 0;<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 i &lt; 10, \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0432\u0435\u0440\u043d\u043e &#8212; \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 &#8212; \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0438\u0437 \u0446\u0438\u043a\u043b\u0430;<\/li>\n<li>\u0414\u0430\u043b\u0435\u0435 \u0446\u0438\u043a\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u0442\u043e \u0435\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e ++i;<\/li>\n<li>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f printf, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u0442 \u043a \u043f\u0443\u043d\u043a\u0442\u0443 2.<\/li>\n<\/ol>\n<p>\u041d\u0430 \u044d\u043a\u0440\u0430\u043d \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 10 \u0440\u0430\u0437 \u043d\u0430\u0434\u043f\u0438\u0441\u044c &#171;Vasya Pupkinn&#187;. \u041d\u0430 11 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 i \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u043e 10, \u043d\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0433\u043b\u0430\u0441\u0438\u0442 \u0447\u0442\u043e i &lt; 10, \u0430 10 == 10, \u043d\u043e \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0446\u0438\u043a\u043b \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442 \u0441\u0432\u043e\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0443. \u0427\u0442\u043e \u0431\u044b \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0432\u0432\u043e\u0434\u0430(\u043a\u043e\u043d\u0441\u043e\u043b\u044c) \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f scanf; \u0415\u0435 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f:<\/p>\n<pre class=\"brush:cpp\">int  scanf ( const char * format, ... );<\/pre>\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8212; \u0444\u043e\u0440\u043c\u0430\u0442. \u0417\u0430\u0434\u0430\u0435\u0442 \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#171;%i&#187; &#8212; integer, &#171;%s&#187; &#8212; string.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/strong> <em>\u0412 \u0447\u0438\u0441\u0442\u043e\u043c \u0421 \u043d\u0435\u0442\u0443 \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u0441\u0442\u0440\u043e\u043a. \u0422\u043e\u0447\u043d\u0435\u0435 \u0432 \u043d\u0435\u043c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u043c \u0441\u0442\u0440\u043e\u043a\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432(char str[5] &#8212; \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043b\u0438\u043d\u043d\u043e\u0439 5 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432);<\/em><\/p>\n<p>\u0412\u0442\u043e\u0440\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c scanf \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u0434\u0440\u0435\u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b &#171;&amp;&#187;. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre class=\"brush:cpp\">int a;\nscanf(\"%i\", &amp;a);<\/pre>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0448\u0438 &#171;enter&#187; \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e a.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u043c. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0434\u043b\u044f \u043d\u0435\u0435 \u0444\u0430\u0439\u043b. \u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043d\u0430 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041f\u0438\u0448\u0435\u043c \u043a\u043e\u0434:<\/p>\n<pre class=\"brush:cpp\">#include &lt;stdio.h&gt; \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\n\nint main(int argc, char* argv[]) \/\/\u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\n{\n    int length; \/\/\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u044b \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0430\n    scanf(\"%i\", length); \/\/\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\n    int i, j; \/\/\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0446\u0438\u043a\u043b\u0430\n    for (i = 1; i &lt;= length; ++i) \/\/\u043f\u0435\u0440\u0432\u044b\u0439 \u0446\u0438\u043a\u043b\n    {\n        \/\/\u0432\u0442\u043e\u0440\u043e\u0439 \u0446\u0438\u043a\u043b \u0440\u0438\u0441\u0443\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432\n        for (j = 1; j &lt;= length; ++j)\n            printf(\"$\"); \/\/\u043f\u0435\u0447\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430\n        printf(\"n\"); \/\/\u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443\n    }\n    return 0;\n}<\/pre>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u0442\u0430\u043a \u0436\u0435:<\/p>\n<pre class=\"brush:bash\">gcc -o quad quad.c<\/pre>\n<p>\u0418 \u0437\u0430\u043f\u0443\u0441\u043a \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e:<\/p>\n<pre class=\"brush:bash\">.\/quad<\/pre>\n<p>\u0416\u043c\u0435\u043c &#171;enter&#187; \u0432\u0432\u043e\u0434\u0438\u043c \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 7, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0448\u0442\u0443\u043a\u0443:<\/p>\n<p><a href=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/kvadrat-simvolami-v-konsole.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-134 size-full aligncenter\" title=\"\u043a\u0432\u0430\u0434\u0440\u0430\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0435\" src=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/kvadrat-simvolami-v-konsole.png\" alt=\"\" width=\"320\" height=\"183\" \/><\/a>\u041a\u0432\u0430\u0434\u0440\u0430\u0442 \u043d\u0435 \u0432\u044b\u0448\u0435\u043b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u044b\u0441\u043e\u0442\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u0448\u0438\u0440\u0438\u043d\u0430. \u041d\u0443 \u0430 \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 &#8212; \u0432\u0441\u0435 \u0432\u0435\u0440\u043d\u043e.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0434\u043b\u044f \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0442\u043e\u0438\u0442 \u043b\u0438\u0448\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0446\u0438\u043a\u043b:<\/p>\n<pre class=\"brush:cpp\">#include &lt;stdio.h&gt;\n\nint main(int argc, char* argv[])\n{\n    int length;\n    scanf(\"%i\", &amp;length);\n    int i, j;\n    for (i = 1; i &lt;= length; ++i)\n    {\n        j = length + 1 - i; \/\/\u043a\u0430\u0436\u0434\u044b\u0439 \u0446\u0438\u043a\u043b j \u0431\u0443\u0434\u0435\u0442 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0442\u0441\u044f\n        \/\/\u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u0446\u0438\u043a\u043b\u0430 for \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c\n        for (; j &lt;= length; ++j)\n            printf(\"$\");\n        printf(\"n\");\n    }\n    return 0;\n}<\/pre>\n<p>\u041a\u0430\u0436\u0434\u0430\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f \u0446\u0438\u043a\u043b\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e j, \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0446\u0438\u043a\u043b \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437, \u0438 \u043a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 &#8212; \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0441 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439.<\/p>\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0432\u0435\u0440\u043d\u043e, \u0442\u043e \u043f\u0440\u0438 \u0432\u0432\u043e\u0434\u0435 10 \u043f\u043e\u043b\u0443\u0447\u0438\u043c:<\/p>\n<p><a href=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/treugolnik-simvolami-v-konsole.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-135 size-full aligncenter\" title=\"\u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0435\" src=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/treugolnik-simvolami-v-konsole.png\" alt=\"\" width=\"368\" height=\"256\" \/><\/a>\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u043f\u0440\u043e make \u0444\u0430\u0439\u043b, \u0438 \u043a\u0430\u043a \u0441 \u043d\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0437\u044b\u0432\u044b, \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043c\u044b \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u0432\u043e\u044e \u043f\u0435\u0440\u0432\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043d\u0430 &#171;\u0421&#187; \u0432 Linux. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f: \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 Linux; \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440, \u0442\u043e \u0435\u0441\u0442\u044c &#171;gcc&#187;; \u0443\u043c\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u043e\u0439; \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0449\u0435 \u043d\u0435\u0442\u0443 Linux&#8217;a, \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0448\u0443 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043a\u0440\u043e\u043c\u0435 &#171;hello world&#187; \u043c\u044b \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043f\u0430\u0440\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u043a \u0438\u0437 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442 532\u0430 \u0433\u0440\u0443\u043f\u043f\u044b(\u041e\u0413\u0410\u0425, \u0424\u0418\u0422, 2011 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":131,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[15,16,42,73],"class_list":["post-105","post","type-post","status-publish","format-standard","has-post-thumbnail","category-it-tematika","tag-c-language","tag-c","tag-linux","tag-dlya-nachinayushhih","anons"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux<\/title>\n<meta name=\"description\" content=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Linux - \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux\" \/>\n<meta property=\"og:description\" content=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Linux - \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0431\u043b\u043e\u0433 Jakeroid&#039;\u0430\" \/>\n<meta property=\"article:published_time\" content=\"2011-10-17T18:33:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-25T14:24:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png\" \/>\n\t<meta property=\"og:image:width\" content=\"924\" \/>\n\t<meta property=\"og:image:height\" content=\"753\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jakeroid\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jakeroid\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u043c\u0438\u043d\u0443\u0442\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/\"},\"author\":{\"name\":\"Jakeroid\",\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/#\\\/schema\\\/person\\\/74e0fe41cca483a097f04e737be06e0e\"},\"headline\":\"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux\",\"datePublished\":\"2011-10-17T18:33:52+00:00\",\"dateModified\":\"2022-06-25T14:24:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/\"},\"wordCount\":660,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2011\\\/10\\\/zapusk-terminala.png\",\"keywords\":[\"c language\",\"c++\",\"linux\",\"\u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445\"],\"articleSection\":[\"IT \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/\",\"url\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/\",\"name\":\"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2011\\\/10\\\/zapusk-terminala.png\",\"datePublished\":\"2011-10-17T18:33:52+00:00\",\"dateModified\":\"2022-06-25T14:24:13+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/#\\\/schema\\\/person\\\/74e0fe41cca483a097f04e737be06e0e\"},\"description\":\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Linux - \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2011\\\/10\\\/zapusk-terminala.png\",\"contentUrl\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2011\\\/10\\\/zapusk-terminala.png\",\"width\":924,\"height\":753},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/probuem-programmirovat-v-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/#website\",\"url\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/\",\"name\":\"\u0431\u043b\u043e\u0433 Jakeroid&#039;\u0430\",\"description\":\"\u043f\u0440\u043e IT \u0438 \u0432\u0441\u044f\u043a\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/#\\\/schema\\\/person\\\/74e0fe41cca483a097f04e737be06e0e\",\"name\":\"Jakeroid\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/af6e16536e930fc8349f5518412f00d9056a121a46ae74dc414f5f0fca2204d9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/af6e16536e930fc8349f5518412f00d9056a121a46ae74dc414f5f0fca2204d9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/af6e16536e930fc8349f5518412f00d9056a121a46ae74dc414f5f0fca2204d9?s=96&d=mm&r=g\",\"caption\":\"Jakeroid\"},\"url\":\"https:\\\/\\\/jakeroid.com\\\/ru\\\/blog\\\/author\\\/jakeroid\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux","description":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Linux - \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/","og_locale":"ru_RU","og_type":"article","og_title":"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux","og_description":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Linux - \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438.","og_url":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/","og_site_name":"\u0431\u043b\u043e\u0433 Jakeroid&#039;\u0430","article_published_time":"2011-10-17T18:33:52+00:00","article_modified_time":"2022-06-25T14:24:13+00:00","og_image":[{"width":924,"height":753,"url":"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png","type":"image\/png"}],"author":"Jakeroid","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"Jakeroid","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"6 \u043c\u0438\u043d\u0443\u0442"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#article","isPartOf":{"@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/"},"author":{"name":"Jakeroid","@id":"https:\/\/jakeroid.com\/ru\/#\/schema\/person\/74e0fe41cca483a097f04e737be06e0e"},"headline":"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux","datePublished":"2011-10-17T18:33:52+00:00","dateModified":"2022-06-25T14:24:13+00:00","mainEntityOfPage":{"@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/"},"wordCount":660,"commentCount":0,"image":{"@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png","keywords":["c language","c++","linux","\u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445"],"articleSection":["IT \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/","url":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/","name":"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux","isPartOf":{"@id":"https:\/\/jakeroid.com\/ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#primaryimage"},"image":{"@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png","datePublished":"2011-10-17T18:33:52+00:00","dateModified":"2022-06-25T14:24:13+00:00","author":{"@id":"https:\/\/jakeroid.com\/ru\/#\/schema\/person\/74e0fe41cca483a097f04e737be06e0e"},"description":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Linux - \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438.","breadcrumb":{"@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#primaryimage","url":"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png","contentUrl":"https:\/\/jakeroid.com\/ru\/wp-content\/uploads\/sites\/3\/2011\/10\/zapusk-terminala.png","width":924,"height":753},{"@type":"BreadcrumbList","@id":"https:\/\/jakeroid.com\/ru\/blog\/probuem-programmirovat-v-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/jakeroid.com\/ru\/"},{"@type":"ListItem","position":2,"name":"\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Linux"}]},{"@type":"WebSite","@id":"https:\/\/jakeroid.com\/ru\/#website","url":"https:\/\/jakeroid.com\/ru\/","name":"\u0431\u043b\u043e\u0433 Jakeroid&#039;\u0430","description":"\u043f\u0440\u043e IT \u0438 \u0432\u0441\u044f\u043a\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jakeroid.com\/ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Person","@id":"https:\/\/jakeroid.com\/ru\/#\/schema\/person\/74e0fe41cca483a097f04e737be06e0e","name":"Jakeroid","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/secure.gravatar.com\/avatar\/af6e16536e930fc8349f5518412f00d9056a121a46ae74dc414f5f0fca2204d9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/af6e16536e930fc8349f5518412f00d9056a121a46ae74dc414f5f0fca2204d9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/af6e16536e930fc8349f5518412f00d9056a121a46ae74dc414f5f0fca2204d9?s=96&d=mm&r=g","caption":"Jakeroid"},"url":"https:\/\/jakeroid.com\/ru\/blog\/author\/jakeroid\/"}]}},"_links":{"self":[{"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":1,"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":2628,"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/posts\/105\/revisions\/2628"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/media\/131"}],"wp:attachment":[{"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jakeroid.com\/ru\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}