java提示用户输入,如何提示用户输入并在同一行中显示某些内容?
基本上我现在的是这个://generates the menuvoid menu(int TL, string title) {char a;//menu layoutcout << title << endl;emptyLine(TL);centreHeading(TL, "OPTIONS");emptyLine(TL);centreText(TL, "(1) PLAY"...