Mega Code Archive
Char array buffers
#include
int main()
{
char buffer[80];
std::cout << "Enter the string: ";
std::cin >> buffer;
std::cout << "Here's the buffer: " << buffer << std::endl;
return 0;
}
Enter the string: string
Here's the buffer: string