<?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: angelyoutz</title>
    <description>The latest articles on DEV Community by angelyoutz (@angelyoutz).</description>
    <link>https://dev.to/angelyoutz</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%2F521498%2F69a3b9b7-ecd0-4b59-93e4-971a5a840b3f.png</url>
      <title>DEV Community: angelyoutz</title>
      <link>https://dev.to/angelyoutz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/angelyoutz"/>
    <language>en</language>
    <item>
      <title>Qualified Name Is Not Allowed In Member Declaration in C++</title>
      <dc:creator>angelyoutz</dc:creator>
      <pubDate>Thu, 26 Nov 2020 20:31:14 +0000</pubDate>
      <link>https://dev.to/angelyoutz/qualified-name-is-not-allowed-in-member-declaration-in-c-15d3</link>
      <guid>https://dev.to/angelyoutz/qualified-name-is-not-allowed-in-member-declaration-in-c-15d3</guid>
      <description>&lt;p&gt;Member declaration is a variable that is associated with a specific object and is accessible for all other member functions. The error occurs if a variable that does not belong to the class of variables is used as a member of the function.&lt;/p&gt;

&lt;h1&gt;
  
  
  Cause
&lt;/h1&gt;

&lt;p&gt;The compiler has a standard text like a template that it uses in its internal buffer and thus errors are detected when the compiler parses the template and detects the error.&lt;/p&gt;

&lt;p&gt;Template declarations have different meanings depending on the arguments used in their development. The expressions used may have different types of values that give variables different types or functions calls for different functions; such depend majorly on template parameters.&lt;/p&gt;

&lt;p&gt;The standards separate the construct into groups depending on dependency level:&lt;/p&gt;

&lt;p&gt;Dependent types such as a parameter (T)&lt;/p&gt;

&lt;p&gt;Value-dependent expressions like non-type parameter (N)&lt;/p&gt;

&lt;p&gt;Type-dependent expressions that are cast to a type template parameter (T) 0&lt;/p&gt;

&lt;p&gt;The use of declarations in C++ also includes “typename” which means that a name can be looked up if the template arguments/parameters are known. &lt;/p&gt;

&lt;p&gt;Under all circumstances of programming, the template’s arguments must be fulfilled else qualified name not allowed error is will display. &lt;a href="https://www.kodlogs.com/blog/1912/qualified-name-is-not-allowed-in-member-declaration-in-c"&gt;Read Solution&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>oop</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>‘touch’ is not recognized as an internal or external command, operable program or batch file</title>
      <dc:creator>angelyoutz</dc:creator>
      <pubDate>Thu, 26 Nov 2020 20:29:37 +0000</pubDate>
      <link>https://dev.to/angelyoutz/touch-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file-56lg</link>
      <guid>https://dev.to/angelyoutz/touch-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file-56lg</guid>
      <description>&lt;p&gt;Consider that, You are using node.js just use npm with a view to install it on windows.&lt;/p&gt;

&lt;h1&gt;
  
  
  node.js npm:
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;C:\ npm install touch-cli-g&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;For doing this, it will install the command line interface for touch. So, you can use it the same as Unix.&lt;/p&gt;

&lt;p&gt;Another way you can do this. Using&lt;/p&gt;

&lt;p&gt;&lt;code&gt;echo&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;in windows cmd&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;path / file. Sqlite&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This command is a unix/linux based command. Therefore, it doesn’t perform in windows. But it does update the modified timestamps of a file. If you are using with copy to imply missing parameters. Then this will updates the files modified date.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example Given:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;Copy / b file1 ,,&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command prompt: c:\windows\system32\cmd.exe&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved
C:\users\sekar&amp;gt;cd desktop
C: \users\sekar\Desktop&amp;gt;cd react-test
C: \users\sekar\Desktop\react-test &amp;gt; type nul&amp;gt;webpack.config.js
C: \users\sekar\Desktop\react-test&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example:
&lt;/h3&gt;

&lt;p&gt;Type nul&amp;gt;test.html in windows CMD and another one method is&lt;/p&gt;

&lt;p&gt;&lt;code&gt;echo.&amp;gt;test.html&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Both will be working. In case you are on windows device just install git bash. Then type the following command&lt;/p&gt;

&lt;p&gt;&lt;code&gt;touch test.html&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After running this command it will generate a 0 Kilobyte test.html file for you in your specified directory. It is contextual to any other type of file. &lt;a href="https://www.kodlogs.com/blog/137/touch-recognized-internal-external-command-operable-program"&gt;Read more&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to display multiple selected value of drop down-list in PHP?</title>
      <dc:creator>angelyoutz</dc:creator>
      <pubDate>Thu, 26 Nov 2020 20:21:21 +0000</pubDate>
      <link>https://dev.to/angelyoutz/how-to-display-multiple-selected-value-of-drop-down-list-in-php-36lp</link>
      <guid>https://dev.to/angelyoutz/how-to-display-multiple-selected-value-of-drop-down-list-in-php-36lp</guid>
      <description>&lt;h1&gt;
  
  
  Solution:
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;For Windows&lt;/strong&gt; – Hold down + Ctrl key for selecting multiple option&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;For Mac&lt;/strong&gt; – Hold down command key for selecting multiple option&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;STEP 1: Create a list of item&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    &amp;lt;body&amp;gt; 
        &amp;lt;form method = "post" action = "name.php"&amp;gt; 
            &amp;lt;h4&amp;gt;SELECT SUJECTS&amp;lt;/h4&amp;gt; 
            &amp;lt;!--Using multiple to select multiple value--&amp;gt;
            &amp;lt;select name = "subject" multiple size = 6&amp;gt; 
                &amp;lt;option value = "english"&amp;gt;ENGLISH&amp;lt;/option&amp;gt; 
                &amp;lt;option value = "maths"&amp;gt;MATHS&amp;lt;/option&amp;gt; 
                &amp;lt;option value = "computer"&amp;gt;COMPUTER&amp;lt;/option&amp;gt; 
                &amp;lt;option value = "physics"&amp;gt;PHYSICS&amp;lt;/option&amp;gt; 
                &amp;lt;option value = "chemistry"&amp;gt;CHEMISTRY&amp;lt;/option&amp;gt; 
                &amp;lt;option value = "hindi"&amp;gt;HINDI&amp;lt;/option&amp;gt; 
            &amp;lt;/select&amp;gt; 
            &amp;lt;input type = "submit" name = "submit" value = Submit&amp;gt; 
        &amp;lt;/form&amp;gt; 
    &amp;lt;/body&amp;gt; 
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;STEP 2: Fetch or print multiple selected value from list. In this case we are going to use form method and loop to fetch selected value in PHP&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    &amp;lt;body&amp;gt; 
        &amp;lt;!--name.php to be called on form submission--&amp;gt; 
        &amp;lt;form method = 'post'&amp;gt; 
            &amp;lt;h4&amp;gt;SELECT SUJECTS&amp;lt;/h4&amp;gt; 

            &amp;lt;select name = 'subject[]' multiple size = 6&amp;gt; 
                &amp;lt;option value = 'english'&amp;gt;ENGLISH&amp;lt;/option&amp;gt; 
                &amp;lt;option value = 'maths'&amp;gt;MATHS&amp;lt;/option&amp;gt; 
                &amp;lt;option value = 'computer'&amp;gt;COMPUTER&amp;lt;/option&amp;gt; 
                &amp;lt;option value = 'physics'&amp;gt;PHYSICS&amp;lt;/option&amp;gt; 
                &amp;lt;option value = 'chemistry'&amp;gt;CHEMISTRY&amp;lt;/option&amp;gt; 
                &amp;lt;option value = 'hindi'&amp;gt;HINDI&amp;lt;/option&amp;gt; 
            &amp;lt;/select&amp;gt; 
            &amp;lt;input type = 'submit' name = 'submit' value = Submit&amp;gt; 
        &amp;lt;/form&amp;gt; 
    &amp;lt;/body&amp;gt; 
&amp;lt;/html&amp;gt; 
&amp;lt;?php 

    // Check if form is submitted successfully 
    if(isset($_POST["submit"])) 
    { 
        // Check if any option is selected 
        if(isset($_POST["subject"])) 
        { 
            // Retrieving each selected option 
            foreach ($_POST['subject'] as $subject) 
                print "You selected $subject&amp;lt;br/&amp;gt;"; 
        } 
    else
        echo "Select an option first !!"; 
    } 
?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.kodlogs.com/blog/450/how-to-display-multiple-selected-value-of-drop-down-list-php"&gt;Read more&lt;/a&gt;&lt;/p&gt;

</description>
      <category>php</category>
      <category>webdev</category>
    </item>
    <item>
      <title>.tofixed is not a function.</title>
      <dc:creator>angelyoutz</dc:creator>
      <pubDate>Thu, 26 Nov 2020 20:14:46 +0000</pubDate>
      <link>https://dev.to/angelyoutz/tofixed-is-not-a-function-19c8</link>
      <guid>https://dev.to/angelyoutz/tofixed-is-not-a-function-19c8</guid>
      <description>&lt;p&gt;The toFixed number in javascript is used for number formatting by using fixed-point notation. This can be used to format a number with a specific number of digits to the right side of the decimal.&lt;/p&gt;

&lt;h1&gt;
  
  
  Syntax:
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;numObj.toFixed([digits])&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Parameters:
&lt;/h2&gt;

&lt;p&gt;The number of digits that appear after the decimal point: These numbers have a value between 0 and 20 inclusive and this implementation can support a wide range of values. It will be treated as 0 if this argument is removed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Return Value:
&lt;/h3&gt;

&lt;p&gt;It will return a string representation of the given number by using the fixed point notation.&lt;/p&gt;

&lt;h4&gt;
  
  
  Exceptions:
&lt;/h4&gt;

&lt;p&gt;If this method is invoked on an object then it is not a number. &lt;a href="https://www.kodlogs.com/blog/1120/tofixed-is-not-a-function"&gt;Read more&lt;/a&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>oop</category>
      <category>computerscience</category>
    </item>
  </channel>
</rss>
