A normal char variable can store one character. If you want to store text containing many characters you need to create an array of characters. To assign text to an array of characters, you must use strcpy function. This function is found in cstring header file.
using namespace std;
Posted by: Dara | post date: 01-26-2013 | Subject: C++ Programming Language
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: