<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>C++ Tutorial - Linked List</title><link>/technologies/code_exchange/b/blog/posts/c-tutorial---linked-list</link><description>IntroductionIn the previous tutorial , we learned about dynamic memory which lets you create arrays which have a size that are only known at run time (and not when the program is written). One way that this occurs is if you have to read in an image.&amp;amp;n</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: C++ Tutorial - Linked List</title><link>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-tutorial---linked-list</link><pubDate>Sat, 04 Apr 2015 20:19:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5a892a73-8885-4b30-a441-baf3bbb24f6c</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;with a little help from an IDE, I figured it out. It&amp;#39;s simply:&lt;/p&gt;&lt;p&gt;Print(head);&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15384&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: C++ Tutorial - Linked List</title><link>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-tutorial---linked-list</link><pubDate>Sat, 04 Apr 2015 20:01:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5a892a73-8885-4b30-a441-baf3bbb24f6c</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I am having trouble figuring out how to call the print method. What would the line look like?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15384&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: C++ Tutorial - Linked List</title><link>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-tutorial---linked-list</link><pubDate>Wed, 18 Mar 2015 17:31:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5a892a73-8885-4b30-a441-baf3bbb24f6c</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;thanks for the great tutorial. a minor question:&lt;/p&gt;&lt;p&gt;Can the list be created with a &amp;quot;class&amp;quot; instead of a &amp;quot;structure&amp;quot;?&amp;nbsp; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15384&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: C++ Tutorial - Linked List</title><link>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-tutorial---linked-list</link><pubDate>Mon, 22 Jul 2013 05:06:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5a892a73-8885-4b30-a441-baf3bbb24f6c</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am having trouble understanding how the Next is going through to the next node.&lt;/p&gt;&lt;p&gt;&lt;span&gt;LinkedListItem&lt;/span&gt;&lt;span&gt;* curr = &lt;/span&gt;&lt;span&gt;head&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;while&lt;/span&gt;&lt;span&gt;(curr != &lt;/span&gt;&lt;span&gt;NULL&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;cout &amp;lt;&amp;lt; curr-&amp;gt;Number &amp;lt;&amp;lt; endl;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;curr = curr-&amp;gt;Next;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15384&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: C++ Tutorial - Linked List</title><link>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-tutorial---linked-list</link><pubDate>Mon, 15 Jul 2013 06:23:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5a892a73-8885-4b30-a441-baf3bbb24f6c</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi ,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What will this line do:&lt;/p&gt;&lt;p&gt;&lt;span&gt;head = &lt;/span&gt;&lt;span&gt;new&lt;/span&gt; &lt;span&gt;LinkedListItem&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Thanks.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15384&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>