royhat
Sahifa ko'rinishi (4 sahifa)
Pastga aylantiring 👇
Ko'proq o'qimoqchimisiz?
Barcha 1 sahifani Telegram orqali bepul yuklab oling.
To'liq faylni yuklab olish"royhat" haqida
#include using namespace std; class royhat { public: int number; royhat *next; }; int main() { royhat *head = null; royhat *lastptr = null; short on = -1; while (1) { cout > on; if (on == 0) { system("cls"); break; } else if (on == 1) { system("clear"); royhat *korsatkich = new royhat; int value = -1; cout > value; korsatkich->number = value; korsatkich->next = null; if (head == 0) { head = korsatkich; lastptr = korsatkich; system("clear"); continue; } lastptr->next = korsatkich; lastptr = korsatkich; system("clear"); continue; } else if (on == 2) { royhat *korsatkich = null; system("clear"); if (head == 0) { cout number next == 0) { break; } // korsatkich=korsatkich->next; } cout > index; …
Bu fayl DOCX formatida 1 sahifadan iborat (19,7 KB). "royhat"ni yuklab olish uchun chap tomondagi Telegram tugmasini bosing.