CR LF lp chapter5
#include
#include
char* menu[] = {
"a - add new record",
"d = delete record",
"q - quit",
NULL,
};
int getchoice(char* greet, char* choices[]);
int main()
{
int choice = 0;
do
{
choice = getchoice("please select an action", menu);
原创
2011-03-31 10:39:00 ·
758 阅读 ·
0 评论