Hiii all
i hav i little problem i wanna insert a char into an another char and add some other chars .. :D
For example :
I have the char A = "HE";
i wanna have in B ="HELLO Everybody";

i was doing this in php :

$string=$A."LLO Everybody";

But i dont know how to doit in C

Hiii all
i hav i little problem i wanna insert a char into an another char and add some other chars .. :D
For example :
I have the char A = "HE";
i wanna have in B ="HELLO Everybody";

i was doing this in php :

$string=$A."LLO Everybody";

But i dont know how to doit in C

Your talking about strings not characters...What do you have so far?

Note I would investigate string functions especially strcat.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.