{"id":407,"date":"2015-09-29T12:24:18","date_gmt":"2015-09-29T12:24:18","guid":{"rendered":"http:\/\/coolt.ch\/notizen\/?p=407"},"modified":"2015-09-29T12:48:50","modified_gmt":"2015-09-29T12:48:50","slug":"c-typs-char-uint","status":"publish","type":"post","link":"https:\/\/coolt.ch\/notizen\/c-typs-char-uint\/","title":{"rendered":"c++:  typs  &#8211;  char, uint"},"content":{"rendered":"<pre class=\"lang:c++ decode:true\">#include &lt;string&gt;\r\n<\/pre>\n<p><strong>Deklarationen<br \/>\n<\/strong><\/p>\n<pre class=\"lang:sh decode:true\">char char_a = 'a' ;                                 \r\nstd::string name = \"berta\" ;<\/pre>\n<p><strong>Implizter Typecast<\/strong><\/p>\n<pre class=\"lang:sh decode:true\">int int_a = char_a               \/\/ int_a  =&gt;  99;<\/pre>\n<p>Bei c++ wird eine char-Variable als int ausgelesen, wenn sie einer int-Variable zugewiesen wurde. (Es braucht keinen Typcast)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#include &lt;string&gt; Deklarationen char char_a = &#8218;a&#8216; ; std::string name = &#8222;berta&#8220; ; Implizter Typecast int int_a = char_a \/\/ int_a =&gt; 99; Bei c++ wird eine char-Variable als int ausgelesen, wenn sie einer int-Variable zugewiesen wurde. (Es braucht keinen Typcast)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[29],"tags":[11,3],"_links":{"self":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/407"}],"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=407"}],"version-history":[{"count":4,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/407\/revisions"}],"predecessor-version":[{"id":420,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/407\/revisions\/420"}],"wp:attachment":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/media?parent=407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/categories?post=407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/tags?post=407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}