royhat
Page preview (4 pages)
Scroll down 👇
About "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; …
This file contains 1 page in DOCX format (19.7 KB). To download "royhat", click the Telegram button on the left.