சி++: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
No edit summary
No edit summary
 
வரிசை 46:
 
== மொழி அமைப்பு ==
== உலகே வணக்கம் ==
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
# include <iostream>
using namespace std;
 
int main ()
{
cout << "Hello World!";
return 0;
}
</syntaxhighlight>
</div>
<div style="float:right; width:45%;">
<pre>
Hello World!
</pre>
</div>
<br style="clear:both;" />
 
== அடிப்படை உள்ளீடும் வெளியீடும் ==
=== வெளியீடு ===
<syntaxhighlight lang="cpp">
char *name="John";
வரி 75 ⟶ 55:
</syntaxhighlight>
 
=== உள்ளீடு ===
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
வரி 101 ⟶ 81:
 
== கட்டுப்பாடு ==
=== எனில்/if else if ===
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
வரி 122 ⟶ 102:
<br style="clear:both;" />
 
=== தெரிவு/switch ===
சி++ [[பி.எச்.பி]] போன்ற இதர மொழிகள் போல் அல்லாமல் சொற்தொடர்களை தெரிவில் பயன்படுத்த முடியாது.
 
வரி 150 ⟶ 130:
 
== சுற்று ==
=== while சுற்று ===
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
வரி 172 ⟶ 152:
<br style="clear:both;" />
 
=== do while சுற்று ===
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
வரி 193 ⟶ 173:
<br style="clear:both;" />
 
=== for சுற்று ===
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
வரி 216 ⟶ 196:
 
== செயலி ==
=== pass by value ===
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
வரி 242 ⟶ 222:
<br style="clear:both;" />
 
=== pass by references ===
<div style="float:left; width:50%;">
<syntaxhighlight lang="cpp">
"https://tamilar.wiki/w/சி%2B%2B" இலிருந்து மீள்விக்கப்பட்டது