摘要: #include<iostream>#include<string>#include<algorithm>#include<ctime>using namespace std; string Random_Result() { char temp[] = "1234567890"; random_s 阅读全文
posted @ 2022-07-06 09:22 江南王小帅 阅读(476) 评论(0) 推荐(0)
摘要: 1 main函数 中的内容不宜过多。 2 当想在main函数中使用while时候,可以这样做: int main() {while(function1) //此处的while的循环体是一个空语句。 } function1() { 。。。 return 1; } // example #include 阅读全文
posted @ 2022-07-06 08:59 江南王小帅 阅读(313) 评论(0) 推荐(0)