<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=4&amp;t=18816&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2017-07-15T19:30:23+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=18816&amp;mode</id>
<entry>
<author><name><![CDATA[xentis]]></name></author>
<updated>2017-07-15T19:30:23+01:00</updated>
<published>2017-07-15T19:30:23+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18816&amp;p=192165#p192165</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18816&amp;p=192165#p192165"/>
<title type="html"><![CDATA[Re: Tablica struktur - problem]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18816&amp;p=192165#p192165"><![CDATA[
Wygląda że jest dobrze. Nawet przed chwilą utworzyłem nowy projekt wkleiłem Twój kod i żadnego błędu?!<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=6265">xentis</a> — 15 lip 2017, o 19:30</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[krzysssztof]]></name></author>
<updated>2017-07-15T18:53:47+01:00</updated>
<published>2017-07-15T18:53:47+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18816&amp;p=192162#p192162</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18816&amp;p=192162#p192162"/>
<title type="html"><![CDATA[Tablica struktur - problem]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18816&amp;p=192162#p192162"><![CDATA[
Hej,<br />taki problem:<br /><br />Tworzę sobie nowy typ zmiennej - strukturę z dwoma polami:<br /><br />[syntax=c]typedef struct {<br />    uint8_t a;<br />    uint8_t b;<br />}dane;[/syntax]<br /><br />Następnie tworzę tablicę zawierającą kilka takich struktur i inicjalizuję ją danymi:<br /><br />[syntax=c]dane pary_liczb&#91;5&#93;={<br />    {1,2},<br />    {2,3},<br />    {3,4},<br />    {4,5},<br />    {5,6},<br />};[/syntax]<br /><br />Niestety - kompilator zwraca     error: conflicting types for 'dane'.<br /><br />Co robię źle ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4274">krzysssztof</a> — 15 lip 2017, o 18:53</p><hr />
]]></content>
</entry>
</feed>