<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:28:24 +0000</lastBuildDate>
    <item>
      <title>(C++) C++ Structure: How do I write a structure to a file? - architect</title>
      <link>https://snipplr.com/view/10148/c-structure-how-do-i-write-a-structure-to-a-file</link>
      <description>&lt;p&gt;Q: How do I write a structure to a file?&#13;
&#13;
A: You can easily write a structure to a file as long as the structure is what is known as a POD (Plain Old Data) type. This means that all members of the structure must be of a fixed size, which implies that the structure can not contain pointers. This stipulation goes for all members of the structure. Look at these examples:&lt;/p&gt;</description>
      <pubDate>Sat, 29 Nov 2008 07:33:15 UTC</pubDate>
      <guid>https://snipplr.com/view/10148/c-structure-how-do-i-write-a-structure-to-a-file</guid>
    </item>
  </channel>
</rss>
