{"id":1573,"date":"2013-05-30T05:10:02","date_gmt":"2013-05-29T19:10:02","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1573"},"modified":"2013-05-30T05:10:02","modified_gmt":"2013-05-29T19:10:02","slug":"c-xcode-oop-polymorphic-array-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/c-xcode-oop-polymorphic-array-tutorial\/","title":{"rendered":"C++ Xcode OOP Polymorphic Array Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/CPlusPlus\/PolymorphicArray\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"C++ XCode OOP Polymorphic Array Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/CPlusPlus\/PolymorphicArray\/PolymorphicArray.jpg\" title=\"C++ XCode OOP Polymorphic Array Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">C++ XCode OOP Polymorphic Array Tutorial<\/p><\/div>\n<p>Here is a tutorial that introduces you to some more aspects of OOP &#8230; oops, forgot to say what OOP stands for &#8230; Object Oriented Programming &#8230; specifically regarding <a target=_blank title='Polymorphism as discussed by Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Polymorphism_%28computer_science%29'>Polymorphic Arrays<\/a>.<\/p>\n<blockquote><p>Object-oriented programming (OOP) is a programming paradigm that represents concepts as &#8220;objects&#8221; that have data fields (attributes that describe the object) and associated procedures known as methods. Objects, which are usually instances of classes, are used to interact with one another to design applications and computer programs.<\/p><\/blockquote>\n<p>To me, the beauty of OOP is that it can relate to the nouns in our life.   Think of an object that you can touch, like a wristwatch &#8230; it has features like its type of design, its size, its weight (ie. its properties), and it has objects that go to make it up, like cogs and wheels (ie. its components), and it has its related classes of objects like clock, alarm clock, oven timer etcetera (ie. its characteristics), and its more fundamental essence, the class of watch (ie. its inheritance).<\/p>\n<p>In this tutorial we touch on Polymorphic Arrays and the use of an Abstract Base Class and Two Subclasses which contribute to the types within this array.   Has some similarities to <a target=_blank title='MultiCulturalism discussion on Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Multiculturalism'>MultiCulturalism<\/a> perhaps?<\/p>\n<p>Let&#8217;s see some  <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/CPlusPlus\/PolymorphicArray\/'>C++ using XCode<\/a> for this &#8230;<\/p>\n<p>Link to Object Oriented Programming information &#8230; <a target=_blank title='OOP' href='http:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming'>from Wikipedia from which quote above comes<\/a>.<br \/>\nLink to Object Oriented Programming inventor information &#8230; <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Kristen_Nygaard' title='Object Oriented Programming inventor ... thanks to Wikipedia, again.'>Kristen Nygaard<\/a>.<br \/>\nAlso like this <a target=_blank title='Polymorphic Array tutorial by Well House Consultants Ltd.' href='http:\/\/www.wellho.net\/resources\/ex.php4?item=c233\/petite.cpp'>link<\/a> with regard to Polymorphic Arrays.<br \/>\nLink to some downloadable programming code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/CPlusPlus\/PolymorphicArray\/main.cpp_GETME' title='Download me'>main.cpp<\/a> for use.\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1573' onclick='var dv=document.getElementById(\"d1573\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=C%2B%2B\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1573' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here is a tutorial that introduces you to some more aspects of OOP &#8230; oops, forgot to say what OOP stands for &#8230; Object Oriented Programming &#8230; specifically regarding Polymorphic Arrays. Object-oriented programming (OOP) is a programming paradigm that represents &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/c-xcode-oop-polymorphic-array-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,28,37,40],"tags":[103,176,875,963,964,997,1319,1473],"class_list":["post-1573","post","type-post","status-publish","format-standard","hentry","category-elearning","category-oop","category-tutorials","category-xcode","tag-array","tag-c","tag-oop","tag-polymorphic-array","tag-polymorphism","tag-programming","tag-tutorial","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1573"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1573"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1573\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}