input name陣列的相關文章
input name陣列的相關商品

spaces in char array input - C++ Forum - cplusplus.com - The C++ Resources Network
瀏覽:656
日期:2025-04-28
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...看更多