TUI generation library for C on Windows.
This repository has been archived on 2021-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Simon ece14bda5f
Update README.md
2020-01-09 08:02:55 +01:00
.gitignore Changed cpp files to c files, removed unnecessary file 2019-12-21 20:13:38 +01:00
LICENSE Initial commit 2019-12-19 14:43:20 +01:00
MenuLib.sln Removed dependency to local testing project 2019-12-21 20:19:42 +01:00
MenuLib.vcxproj Changed cpp files to c files, removed unnecessary file 2019-12-21 20:13:38 +01:00
MenuLib.vcxproj.filters Changed cpp files to c files, removed unnecessary file 2019-12-21 20:13:38 +01:00
MenuLib.vcxproj.user Added existing project 2019-12-19 14:51:51 +01:00
README.md Update README.md 2020-01-09 08:02:55 +01:00
framework.h Added existing project 2019-12-19 14:51:51 +01:00
menu.c Merge pull request #3 from CyB3RC0nN0R/dev_Simon 2019-12-21 20:15:59 +01:00
menu.h - Added different style options 2019-12-21 19:53:19 +01:00
pch.c Changed cpp files to c files, removed unnecessary file 2019-12-21 20:13:38 +01:00
pch.h Added existing project 2019-12-19 14:51:51 +01:00

README.md

MenuLib

CUI generation library for C on Windows

Hinweis zum Installieren:

Sowohl "menu.c" als auch "menu.h" zum Projektordner hinzufügen und mit #include "menu.h" einbinden.

Anwendungsbeispiel

struct MenuItem items[] = {
		{"Euklidscher Algorithmus",	'1', (void*)&euklid},
		{"Gerstenkorn",				'2', (void*)&gerste},
		{"Osterdatum ausrechnen",	'3', (void*)&ostern},
		{"ASCII Tabelle",			'4', (void*)&ascii},
		{"DB-Pruefziffer",			'5', (void*)&db},
		{"Modulo 11",				'6', (void*)&mod11},
		{"BLANK",					NULL, (void*)NULL},
		{"Namen TEST",				'a', (void*)&namen},
		{"Strings",					'b', (void*)&strHeader},
		{"BLANK",					NULL, (void*)NULL},
		{"Exit",					'q', (void*)&exit}
	};
	show_menu(sizeof(items) / sizeof(struct MenuItem), items, "Vorlesungsaufgaben", true, true, NO_BORDER);