代码实现简单服饰信息管理int main() { int xh; while(1) { system("color 5f"); //操作菜单背景颜色 xh=caidan(); //调用菜单函数 switch(xh) //switch语句 { case 1:system("cls");luru();break; case 2:system("cls");liulan();break; case 3:system("cls");chaxunfushi();break; case 4:system(
菜单布局 public boolean onCreateOptionsMenu Menu menu { Inflate the menu; this adds items to the action bar if it is present getMenuInflater inflate R menu main menu ; return true; }