Aici sunt prezentate diferențele dintre versiunile selectate și versiunea curentă a paginii.
Both sides previous revision Previous revision Next revision | Previous revision | ||
playground:playground [2014/05/10 18:59] fbratiloveanu |
playground:playground [2016/02/13 10:52] (curent) |
||
---|---|---|---|
Linia 1: | Linia 1: | ||
====== PlayGround ====== | ====== PlayGround ====== | ||
- | <code c> | ||
- | #include <iostream> | ||
- | #include <conio.h> | ||
- | using namespace std; | ||
- | struct Element { | ||
- | int valoare; | ||
- | Element* urmator, * anterior; | ||
- | }; | ||
- | |||
- | int main() { | ||
- | Element e; | ||
- | e.valoare = 2; | ||
- | e.urmator = NULL; | ||
- | e.anterior = NULL; | ||
- | | ||
- | cout<<endl<<e.valoare; | ||
- | getch(); | ||
- | return 0; | ||
- | } | ||
- | </code> |