{"id":1467,"date":"2016-05-10T11:00:31","date_gmt":"2016-05-10T11:00:31","guid":{"rendered":"http:\/\/coolt.ch\/notizen\/?p=1467"},"modified":"2016-05-10T11:00:31","modified_gmt":"2016-05-10T11:00:31","slug":"konsolenbefehl-mit-argumenten","status":"publish","type":"post","link":"https:\/\/coolt.ch\/notizen\/konsolenbefehl-mit-argumenten\/","title":{"rendered":"Konsolenbefehl mit Argumenten"},"content":{"rendered":"<p>Werden in der Konsole Argumente mitgegeben<\/p>\n<pre class=\"lang:sh decode:true\">.\/video 50070 -1                    \/\/ [port] [dumped]<\/pre>\n<p>so m\u00fcssen diese im Executable verarbeitet werden.<\/p>\n<pre class=\"lang:sh decode:true  \">int main(int argc, char *argv[]) {\r\n\r\n   \/\/ set configruations\r\n\r\n    if (argc &gt; 1) {\r\n        Port = atoi(argv[1]);\r\n        ....\r\n    }\r\n\r\n    if(argc &gt; 2) {\r\n       if (atoi(argv[2]) == -1) {\r\n          ..  \/\/ open dumped-file\r\n        }\r\n       else if (atoi(argv[2]) == 1) {\r\n          ..  \/\/ open ...\r\n        }\r\n    }\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Werden in der Konsole Argumente mitgegeben .\/video 50070 -1 \/\/ [port] [dumped] so m\u00fcssen diese im Executable verarbeitet werden. int main(int argc, char *argv[]) { \/\/ set configruations if (argc &gt; 1) { Port = atoi(argv[1]); &#8230;. } if(argc &gt; 2) { if (atoi(argv[2]) == -1) { .. \/\/ open dumped-file } else if (atoi(argv[2]) &hellip; <a href=\"https:\/\/coolt.ch\/notizen\/konsolenbefehl-mit-argumenten\/\" class=\"more-link\"><span class=\"screen-reader-text\">Konsolenbefehl mit Argumenten<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33,65],"tags":[],"_links":{"self":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1467"}],"collection":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":2,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"predecessor-version":[{"id":1469,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1467\/revisions\/1469"}],"wp:attachment":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}