Re: How to divide and join variables of char type ??

From: Aggro (spammerdream_at_yahoo.com)
Date: 01/23/04


Date: Fri, 23 Jan 2004 16:16:22 GMT

KPG wrote:

> I have char variable, for example
> char c[10];
> and I would like to divide this variable
> on two others char variables
> or join with oher char variables/

Is this a C or C++ question?

Do you mean that if you have strings "cat" and "dog" you want to combine
them into one "catdog" or separate one string into two, like: "catdog"
-> "cat" and "dog"?