<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDEのトピックDynamic struct allocation LPC1343</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Dynamic-struct-allocation-LPC1343/m-p/572479#M21008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by killua on Wed May 09 13:55:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As is says in the title, how can I dynamically allocate a structure, but not all at the same time..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's say I have&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;struct car{
int noWheels;
char name[10];
}a[];

int noStruct=0;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now whenever I get new data over the usb I want to create another structure in an array a[] (thats what the noStruct variable is for, it will keep an eye on how many structures I already have)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:06:12 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:06:12Z</dc:date>
    <item>
      <title>Dynamic struct allocation LPC1343</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Dynamic-struct-allocation-LPC1343/m-p/572479#M21008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by killua on Wed May 09 13:55:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As is says in the title, how can I dynamically allocate a structure, but not all at the same time..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's say I have&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;struct car{
int noWheels;
char name[10];
}a[];

int noStruct=0;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now whenever I get new data over the usb I want to create another structure in an array a[] (thats what the noStruct variable is for, it will keep an eye on how many structures I already have)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Dynamic-struct-allocation-LPC1343/m-p/572479#M21008</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic struct allocation LPC1343</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Dynamic-struct-allocation-LPC1343/m-p/572480#M21009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by atomicdog on Wed May 09 21:37:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Research linked lists and malloc for ideas.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Dynamic-struct-allocation-LPC1343/m-p/572480#M21009</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:12Z</dc:date>
    </item>
  </channel>
</rss>

