commit
This commit is contained in:
parent
dec244496a
commit
32db489031
4 changed files with 27 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue