royhat

DOCX 1 стр. 19,7 КБ Бесплатная загрузка

Предварительный просмотр (4 стр.)

Прокрутите вниз 👇
1 / 1
#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; royhat *korsatkich = null; system("cls"); if (head == 0) { cout next; int n = 0; while (1) { if (index == n) { oldptr = nextptr; oldptr = nextptr->next; …
2 / 1
royhat - Page 2
3 / 1
royhat - Page 3
4 / 1
royhat - Page 4

Хотите читать дальше?

Скачайте все 1 страниц бесплатно через Telegram.

Скачать полный файл

О "royhat"

#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; …

Этот файл содержит 1 стр. в формате DOCX (19,7 КБ). Чтобы скачать "royhat", нажмите кнопку Telegram слева.

Теги: royhat DOCX 1 стр. Бесплатная загрузка Telegram