Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

<h2 style="text-align: left;">

<span style="color: #2b00fe; font-size: large;">

</span>
</h2>

<h3 style="text-align: left;">


<span style="color: #ff00fe; font-size: medium;">

</span>
</h3>

<h4 style="text-align: left;">


<span style="color: #800180; font-size: medium;">

</span>
</h4>

<h5 style="font-size: medium; text-align: left;">


<span style="color: #cc0000;">

</span>
</h5>

<h6 style="font-size: medium; text-align: left;">


<span style="color: red;">

</span>
</h6>

<h6 style="font-size: medium; text-align: left;">


<span style="color: green;">

</span>
</h6>

<hr style="height:4px;color:black">

<div
class="pre dc"
data-copy="true"
data-download="true"
data-file="filename"
data-lang="fileformat"
data-text="typecode"
data-time="true"
data-view="true">
<pre>

</pre>
</div>

<p style="text-align: justify;">


<span style="font-size: medium;">

</span>
</p>

<p style="text-align: justify;">


<span style="font-size: medium;color:red">
<b> For example: </b>
</span>
</p>

<ul style="text-align: justify;">


<li>
<span style="font-size: medium;">

</span>
</li>
</ul>

a prompt :

For all texts that is existed inside every ( ) write them as html paragraph p
with this attributes:
<p style="text-align: justify;">
<span style="font-size: medium;">

</span>
</p>

and also For all texts that is existed inside every {{ }} write them as html
h2 tag with this attributes : <h2 style="text-align: left;">
<span style="color: #2b00fe; font-size: large;">
</span>
</h2>

For all texts that is existed inside every {{{ }}} write them as html h3 tag
with this attributes :
<h3 style="text-align: left;">
<span style="color: #ff00fe; font-size: medium;">

</span>
</h3>

For all texts that is existed inside every [ ] write them as html tags with this
attributes:
<div
class="pre dc"
data-copy="true"
data-download="true"
data-file="filename"
data-lang="fileformat"
data-text="typecode"
data-time="true"
data-view="true">
<pre>

</pre>
</div>

For all texts that is existed inside every {{{{ }}}} write them as html tags
h4 with this attributes:
<h4 style="text-align: left;">
<span style="color: #800180; font-size: medium;">

</span>
</h4>

For all texts that is existed inside every {{{{{ }}}}} write them as html
tags h5 with this attributes:

<h5 style="font-size: medium; text-align: left;">


<span style="color: #cc0000;">

</span>
</h5>

For all texts that is existed inside every {{{{{{ }}}}}} write them as html
tags h6 with this attributes:
<h6 style="font-size: medium; text-align: left;">
<span style="color: red;">

</span>
</h6>

For all texts that is existed inside every [[ ]] write them as a html list with
this attributes:
<ul style="text-align: justify;">
<li>
<span style="font-size: medium;">

</span>
</li>
</ul>

for tables:

<table style="border-collapse: collapse; width: 100%; text-align: center; border:


1px solid rgb(221, 221, 221);">
<thead style="background-color: #f2f2f2;">
<tr style="border: 1px solid rgb(221, 221, 221);">
<th style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Comparison</span></p></th>
<th style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">String</span></p></th>
<th style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Character Array</span></p></th>
</tr>
</thead>
<tbody>
<tr style="border: 1px solid rgb(221, 221, 221);">
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Definition</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">String is a C++ class while the string variables are the
objects of this class</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Character array is a collection of variables with the
data type char.</span></p></td>
</tr>
<tr style="border: 1px solid rgb(221, 221, 221);">
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Syntax</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">string string_name;</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">char arrayname[array_size];</span></p></td>
</tr>
<tr style="border: 1px solid rgb(221, 221, 221);">
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Access Speed</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Slow</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Fast</span></p></td>
</tr>
<tr style="border: 1px solid rgb(221, 221, 221);">
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Indexing</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">To access a particular character, we use
"str_name.charAt(index)" or "str[index]".</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">A character can be accessed by its index in the
character array.</span></p></td>
</tr>
<tr style="border: 1px solid rgb(221, 221, 221);">
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Operators</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Standard C++ operators can be applied.</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Standard C++ Operators can not be
applied.</span></p></td>
</tr>
<tr style="border: 1px solid rgb(221, 221, 221);">
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Memory Allocation</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Memory is allocated dynamically. More memory can be
allocated at runtime.</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Memory is allocated statically. More memory can not be
allocated at runtime.</span></p></td>
</tr>
<tr style="border: 1px solid rgb(221, 221, 221);">
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Array Decay</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Array decay (loss of the type and dimensions of an
array) is impossible.</span></p></td>
<td style="border: 1px solid rgb(221, 221, 221); padding: 8px;"><p><span
style="font-size: medium;">Array decay might occur.</span></p></td>
</tr>
</tbody>
</table><br />

explain it to me [ ] in a detailed way.

You might also like