cin getline char array的相關文章
cin getline char array的相關商品
6.6 — C-style strings « Learn C++
瀏覽:938
日期:2026-04-26
Hello, I’ve got a question about the cin.getline() function. For example: char string[10]; cin.getline(string, 10); cout If I know enter more than 10 chars the program just runs through and the first entered 10 chars doesnt get shown.How can I force the p...看更多















![[蘋果急診室] Mac 電腦很不聽話?程式一直閃退讓你想砸電腦?試試這三招再決定是否要把電腦送修吧!](https://www.iarticlesnet.com/pub/img/article/67102/1413816046539_xs.jpg)