1.新建工程,选择New->Other 2.选择Console Applicat 3.写好以下代码 ,点击绿色三角运行 转载于:https://www.cnblogs.com/GodPan/p/4904489.html