經安全檢測,此網站為安全網站,請放心前往原始網址!

C++ cin.getline to char array - Stack Overflow

The operator >> is not used for assignment ! You could assign using strncpy like this strncpy(names, data, 1000);. and add the include #include ...

www.google.com.tw

網址安全性掃描由 google 提供