GoDLike Comunity


Join the forum, it's quick and easy

GoDLike Comunity
GoDLike Comunity
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Checkpagerank.net
Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests :: 1 Bot

None

Most users ever online was 18 on Wed Mar 01, 2023 5:42 pm
Statistics
We have 1651 registered users
The newest registered user is lesn1k

Our users have posted a total of 558 messages in 467 subjects

[C++]Structura liniara+alternativa

Go down

 [C++]Structura liniara+alternativa Empty [C++]Structura liniara+alternativa

Post by MeG@DaN Thu Mar 10, 2011 12:12 pm

Structura
liniara:
Operatiile
de citire(folosind functii)
->scriere/afisare:

Code:
cout<<       
->>scriere
cin>>          ->>afis
->atribuire
->instructiunea
compusa:

Code:
{ ; }
->comentariu:
pentru o linie:
Code:

 //comentariu
 
pentru un bloc:
Code:
/*
 text.........................../*
Structura alternativa:

Code:
if(expresie) J1/
else
 J1;
->>if(expresie)J;
de exemplu:


Code:
int x;
cin>>x;
if(x!=0)
cout<<"diferit";
 
else                 
cout<<"zero";   
MeG@DaN
MeG@DaN
Administrator
Administrator

Mesaje : 465
Data de inscriere : 17/12/2010
Localizare : Acasa

http://godlike.forumclan.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum