<?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: flaneuroffc</title>
    <description>The latest articles on DEV Community by flaneuroffc (@flaneuroffc).</description>
    <link>https://dev.to/flaneuroffc</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%2F850063%2F15af9635-7c83-4c6e-9947-65e9243c2cf2.png</url>
      <title>DEV Community: flaneuroffc</title>
      <link>https://dev.to/flaneuroffc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/flaneuroffc"/>
    <language>en</language>
    <item>
      <title>Variables, Data types, Operators.</title>
      <dc:creator>flaneuroffc</dc:creator>
      <pubDate>Tue, 03 May 2022 13:20:45 +0000</pubDate>
      <link>https://dev.to/flaneuroffc/variables-data-types-operators-10pm</link>
      <guid>https://dev.to/flaneuroffc/variables-data-types-operators-10pm</guid>
      <description>&lt;p&gt;The general rules for naming variables are:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Names can contain letters, digits and underscores
Names must begin with a letter or an underscore (_)
Names are case sensitive (myVar and myvar are different variables)
Names cannot contain whitespaces or special characters like !, #, %, etc.
Reserved words (like C++ keywords, such as int) cannot be used as names
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Basic Data Types&lt;/p&gt;

&lt;p&gt;The data type specifies the size and type of information the variable will store:&lt;/p&gt;

&lt;p&gt;Data Type   Size    Description&lt;/p&gt;

&lt;p&gt;*boolean    1 byte  Stores true or false values&lt;br&gt;
*char   1 byte  Stores a single character/letter/number, or ASCII values&lt;br&gt;
*int    2 or 4 bytes    Stores whole numbers, without decimals&lt;br&gt;
*float  4 bytes     Stores fractional numbers, containing one or more decimals. Sufficient for storing 7 decimal digits&lt;br&gt;
*double     8 bytes     Stores fractional numbers, containing one or more decimals. Sufficient for storing 15 decimal digits&lt;/p&gt;

&lt;p&gt;Operators are used to perform operations on variables and values.&lt;br&gt;
C++ divides the operators into the following groups:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Arithmetic operators
Assignment operators
Comparison operators
Logical operators
Bitwise operators
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>C++ Variables</title>
      <dc:creator>flaneuroffc</dc:creator>
      <pubDate>Wed, 27 Apr 2022 10:35:49 +0000</pubDate>
      <link>https://dev.to/flaneuroffc/c-variables-4b0i</link>
      <guid>https://dev.to/flaneuroffc/c-variables-4b0i</guid>
      <description>&lt;p&gt;Variables are containers for storing data values.&lt;/p&gt;

&lt;p&gt;In C++, there are different types of variables (defined with different keywords), for example:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int - stores integers (whole numbers), without decimals, such as 123 or -123
double - stores floating point numbers, with decimals, such as 19.99 or -19.99
char - stores single characters, such as 'a' or 'B'. Char values are surrounded by single quotes
string - stores text, such as "Hello World". String values are surrounded by double quotes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The setfill() method of Iomanip library in C++ is used to set the ios library fill character based on the character specified as the parameter to this method.&lt;/p&gt;

&lt;p&gt;Setw function is a C++ manipulator which stands for set width. The manipulator sets the ios library field width or specifies the minimum number of character positions a variable will consume.&lt;/p&gt;

</description>
      <category>ok</category>
    </item>
    <item>
      <title>terminal commands</title>
      <dc:creator>flaneuroffc</dc:creator>
      <pubDate>Tue, 19 Apr 2022 12:48:00 +0000</pubDate>
      <link>https://dev.to/flaneuroffc/terminal-commands-3fo1</link>
      <guid>https://dev.to/flaneuroffc/terminal-commands-3fo1</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Change Directory&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Command: cd (..)&lt;/p&gt;

&lt;p&gt;What it does: This command will change the directory that you’re currently working with in the Terminal in order to execute other commands on a different directory, view the contents of a different directory or open a file in a different directory. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Listing Directory&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Command: ls (-a)&lt;/p&gt;

&lt;p&gt;What it does: Use this command after navigating into a directory using the cd command to view the contents (files and directories) inside of the current directory. Use the argument -l (ls -l) to get even more information about each of the files, including the permissions, owner and date created.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a directory&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Command: mkdir&lt;/p&gt;

&lt;p&gt;What it does: This command will allow you to create a directory (folder) right from the CLI. When you need a place to store new files, just use this command to add a new directory in the current working directory, or specify a full path to the location where you want the new directory to be placed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Clear the Terminal screen of all previous commands&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Command: Clear&lt;/p&gt;

&lt;p&gt;What it does: It removes all previously typed commands from the Terminal view and gives you back a clean slate to work from. Instead of typing clear, you can also alternatively press Command+K to perform the same action.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;pwd&lt;/li&gt;
&lt;li&gt;cat&lt;/li&gt;
&lt;/ol&gt;

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