{"id":4745,"date":"2016-05-05T10:48:12","date_gmt":"2016-05-05T10:48:12","guid":{"rendered":"https:\/\/www.modernescpp.com\/index.php\/source-code-repository\/"},"modified":"2016-05-05T10:48:12","modified_gmt":"2016-05-05T10:48:12","slug":"source-code-repository","status":"publish","type":"post","link":"https:\/\/www.modernescpp.com\/index.php\/source-code-repository\/","title":{"rendered":"Source Code Repository"},"content":{"rendered":"<p>I created a repository for the source code. It&#8217;s on GitHub and has the name ModernesCppSource:<br \/><a href=\"https:\/\/github.com\/RainerGrimm\/ModernesCppSource.git\">https:\/\/github.com\/RainerGrimm\/ModernesCppSource.git<\/a><\/p>\n<p><!--more--><\/p>\n<p>This repository includes also the English examples from my German blog&nbsp;<a href=\"http:\/\/www.grimm-jaud.de\/index.php\/blog\">http:\/\/www.grimm-jaud.de\/index.php\/blog<\/a>. The posts will follow.&nbsp;<\/p>\n<p>The names of the files in the repo correspond to the name of the files used in the examples of the posts. You can find the name of the file in the first line of the examples.<\/p>\n<h2>Example&nbsp;<\/h2>\n<p>To find the source code in the repo, look at the header of the source file in the post.<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow: auto; width: auto; gray;border-width: .1em .1em .1em .8em;\">\n<table>\n<tbody>\n<tr>\n<td>\n<pre style=\"margin: 0; line-height: 125%;\">1\r\n2\r\n3\r\n4\r\n5\r\n6\r\n7<\/pre>\n<\/td>\n<td>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #008000;\">\/\/ Modernes.cpp<\/span>\r\n\r\n<span style=\"color: #0000ff;\">#include &lt;iostream&gt;<\/span>\r\n\r\n<span style=\"color: #2b91af;\">int<\/span> main(){\r\n  std::cout &lt;&lt; <span style=\"color: #a31515;\">\"ModernesCpp.com\"<\/span> &lt;&lt; std::endl;\r\n}\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<p>So there is a file <strong><span style=\"font-family: courier new,courier;\">Modernes.cpp<\/span><\/strong> in the source directory of the GitHub Repo ModernesCppSource.&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I created a repository for the source code. It&#8217;s on GitHub and has the name ModernesCppSource:https:\/\/github.com\/RainerGrimm\/ModernesCppSource.git<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[360],"tags":[],"class_list":["post-4745","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/posts\/4745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/comments?post=4745"}],"version-history":[{"count":0,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/posts\/4745\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/media?parent=4745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/categories?post=4745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/tags?post=4745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}