Laboratorul nr. 3 "Liste dinamice C++. Structuri dinamice stiva de tip FILO." - Structuri de Date si Algoritmi

LABORATORUniversitate ASEM Profesor Tutunaru Serghei

preview iconExtras din document

FIFO #include #include using namespace std; typedef struct Coada Coada; struct Coada { int val; Coada *pre; Coada *suc; }; void watch(Coada* &cap) { Coada *n = new Coada; n=cap; if(n == NULL) { cout<<"\n\nCoada nu are elemente!\n\n";Sleep(1000);return ;} cout<<"Elementele cozii:\n"; while(n != NULL) ...

Download
alert iconRaporteaza o eroare
0 Comenteaza
+1
Posteaza

Laborator: Laboratorul nr. 3 "Liste dinamice C++. Structuri dinamice stiva de tip FILO." Obiect: Structuri de Date si Algoritmi