input name陣列的相關文章
input name陣列的相關公司資訊
input name陣列的相關商品
![spaces in char array input - C++ Forum - cplusplus.com - The C++ Resources Network](https://www.iarticlesnet.com/pub/img/site/s_35.jpeg)
spaces in char array input - C++ Forum - cplusplus.com - The C++ Resources Network
瀏覽:1349
日期:2024-08-14
An array of chars is a string (old type). Here: You declare an array of chars - holds 30 chars. Using cin.getline - You read the entire line entered including whitespace. (name, 29) = "name" is where you want the chars stored and "29" is the maximum numbe...看更多