This commit is contained in:
Lukian 2023-11-20 16:56:01 +01:00
parent dec244496a
commit 32db489031
4 changed files with 27 additions and 1 deletions

View file

@ -3,6 +3,7 @@
#include <windows.h>
#include "screenManager.h"
#include "conf.h"
#include "fileManager.h"
void goToCoords(int x, int y)
{
@ -93,6 +94,16 @@ void menuConf(ptConf confChain, ptListener listenerChain) {
switch (choice)
{
case 1:
system ("cls");
ptConf px = confChain;
while (px -> next != NULL) {
printf("title : %s\nspeaker : %s\n", px -> title, px -> speaker);
printf("%d/%d/%d\n\n",px -> day, px -> month, px -> year);
px = px -> next;
}
system("pause");
menuConf(confChain, listenerChain);
break;
case 2:
@ -123,6 +134,15 @@ void menuAbo(ptConf confChain, ptListener listenerChain) {
switch (choice)
{
case 1:
system ("cls");
ptListener py = listenerChain;
while (py -> next != NULL) {
printf("name: %s\nage: %d\nlevel: %d", py -> name, py -> age, py -> level);
py = py -> next;
}
system("pause");
menuConf(confChain, listenerChain);
break;
case 2: