{"id":209,"date":"2010-04-28T20:00:50","date_gmt":"2010-04-28T20:00:50","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=209"},"modified":"2022-02-17T06:24:05","modified_gmt":"2022-02-17T06:24:05","slug":"pointers-general","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/memory\/pointers\/pointers-general","title":{"rendered":"Pointers General"},"content":{"rendered":"<h4>Dealing with pointers that haven&#8217;t been created yet<\/h4>\n<p>To determin if the pointer myFile has been created use (for instance can be useful when trying to say close a file in an error handler if its been created):<\/p>\n<pre><code>\r\n\tif (myFile != nullptr)\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Dealing with pointers that haven&#8217;t been created yet To determin if the pointer myFile has been created use (for instance can be useful when trying to say close a file in an error handler if its been created): if (myFile != nullptr)<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-209","post","type-post","status-publish","format-standard","hentry","category-pointers"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=209"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/209\/revisions"}],"predecessor-version":[{"id":1124,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/209\/revisions\/1124"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}