Appending charaters to a char*
I'm a newbie to C++. Infact I started to code my first C++ programme today and I need some assistance to get me going.
I basically want to know, how do I read characters from a text file and append the characters to a char*
The reason I need a char* is because my constructor requires a char* to instantiate an object. The class has only one private variable of type char* this is because the series of characters (aka. string) will be of variable amount.
Please help. Thanks.
Edit: I'm not expecting a complete solution but snippets or guidance.