怎么将" hello word !"赋给 char str[];同题[解决办法]#include "stdafx.h " #include <iostream> using namespace std; void main() { char str[1024]; cin.getline(str,1024); cout < <str; }