<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Emmanuel Nyarko </title>
    <description>The latest articles on DEV Community by Emmanuel Nyarko  (@emmankoko).</description>
    <link>https://dev.to/emmankoko</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F913687%2F768f4095-0e5c-445b-b7d6-169fb150f0f8.png</url>
      <title>DEV Community: Emmanuel Nyarko </title>
      <link>https://dev.to/emmankoko</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emmankoko"/>
    <language>en</language>
    <item>
      <title>Input streams buffer flag clearing and emptying</title>
      <dc:creator>Emmanuel Nyarko </dc:creator>
      <pubDate>Sat, 03 Sep 2022 02:04:23 +0000</pubDate>
      <link>https://dev.to/emmankoko/input-streams-buffer-flag-clearing-and-emptying-d6g</link>
      <guid>https://dev.to/emmankoko/input-streams-buffer-flag-clearing-and-emptying-d6g</guid>
      <description>&lt;p&gt;The input streams works in such as a way that it holds some particular type of when undisturbed. Particularly with C++,when you try to extract a string and an integer continuously as in getting a name and age attributes of a person together for instance, the stream doesn't react to this sudden change of type data. To be able to adjust this change of memory, you have to employ the cin.ignore() object to be able to release the buffer of the integer and open a new room for the string to be extracted. And sometimes when you incorrectly place the wrong data type into the allocated buffer, flags are raised to tell you that you've committed error. Cin.clear() is used to clear the flags so that the buffer will ignore the error you committed. The buffer will now pretend that you entered the corrected data type and allow you carry on. You can cin.ignore() to remove the incorrect entry and manipulatively allow you re-enter the right value(data type) .&lt;br&gt;
We will implement more on input streams &lt;/p&gt;

</description>
    </item>
    <item>
      <title>I am here again, let's talk about the access modifiers: public private and protected.</title>
      <dc:creator>Emmanuel Nyarko </dc:creator>
      <pubDate>Wed, 24 Aug 2022 23:59:07 +0000</pubDate>
      <link>https://dev.to/emmankoko/i-am-here-again-lets-talk-about-the-access-modifiers-public-private-and-protected-2cfh</link>
      <guid>https://dev.to/emmankoko/i-am-here-again-lets-talk-about-the-access-modifiers-public-private-and-protected-2cfh</guid>
      <description>&lt;p&gt;Public: As the name describes, there are no limitation and restrictions in accessing an attribute or function attributed to an object. If Emmanuel who's an object(student that shares the general attributes of name, age, etc) in a class of 50 student wants to access his full name(that are attributes he possess) to fill a form, all he needs to do is  to open the class register, take the names and use them in his form because they're made public. The names of everyone in that class is left open and students have ready access to their names.&lt;/p&gt;

&lt;p&gt;The private property: &lt;/p&gt;

&lt;p&gt;After every exams, 30 percent and 70 percent become attributes of the students. An external person is brought into the class to calculate the 100 percent by adding the 30 and 70 together. If a student wants to access his 100 percent score, he cannot access them directly since the 30 and 70 percent score have been given to the external person who has been added to  the class to calculate. Until he releases the score to the student, no student will get access to the 100 score because the external person is the only who currently has access to the unreleased 30 and 70 percent scores of the students making the 30 percent and 70 score private attributes.&lt;/p&gt;

&lt;p&gt;Protected:&lt;br&gt;
When the private 100 percent score which is 30 and 70 score becomes protected, The external person calculating the 100 percent score protects it to himself and then can transfer the calculations to other classes that has also adopted the 30 percent and 70 percent score(basically inheritance)which he can go and calculate the hundred percent score in other similar classes.&lt;/p&gt;

&lt;p&gt;Basically these access modifications will be implemented in a language soon.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hello devs, Get readyyyyyy let's go through the struggles of OOP together</title>
      <dc:creator>Emmanuel Nyarko </dc:creator>
      <pubDate>Tue, 23 Aug 2022 01:49:58 +0000</pubDate>
      <link>https://dev.to/emmankoko/hello-devs-get-readyyyyyy-lets-go-through-the-struggles-of-oop-together-1821</link>
      <guid>https://dev.to/emmankoko/hello-devs-get-readyyyyyy-lets-go-through-the-struggles-of-oop-together-1821</guid>
      <description>&lt;p&gt;I want to start with the relationship between an object and its class. I'm breaking it down for the layman who hasn't even touched the keyboard to understand. Consider a class of 50 students. All the students have the same set of attributes of name,age,and height. If I want a student from the class, we call a student out of the class with the 'new' directive to indicate that the student is part of the class and shares the attributes with other members of the class.&lt;br&gt;
Kojo is a student of a physics class. All the students study 8 subjects. If I want to assess Kojo from the physics class, I will call Kojo who's an 'object' to assess his him by his subjects. If you want the values of Kojo's subject, you can call them Kojo's math, Kojo's English, Kojo's science, Kojo's sociology. That's where the object referencing comes into play. Object-&amp;gt; (class variable) or Object.(class variable). So Kojo-&amp;gt;math or Kojo.math&lt;br&gt;
Object class relationships seen on the eyes of the general. &lt;/p&gt;

&lt;h1&gt;
  
  
  OOP #PHP #C
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
