hi gaurav
can i have code to implement multiple inheritance




________________________________
From: Gaurav <[email protected]>
To: [email protected]
Sent: Saturday, March 7, 2009 2:09:31 AM
Subject: [c-prog] Re: Strings Help


thanx a lot frnds....strcat did da job :)

--- In c-p...@yahoogroups. com, "Gaurav" <mahajan.gaurav@ ...> wrote:
>
> Hey Hi,
> I have a char array (buffer[1000] )...
> I accept a string from the user and store it in buffer[]...now I accept a new 
> string and I want this string to b stored in the buffer[] but ahead of the 
> previous string...how do i do that?
> 
> eg: String1: "ABC"
> In buffer it will be stored as buffer[0] = "A"
> buffer[1] = "B"
> buffer[2] = "C"
> 
> I now accept 2nd String...
> String2: "XYZ"
> 
> I want this string to be stored ahead of ABC i.e as follows:-
> buffer[3] = "X"
> buffer[4] = "Y"
> buffer[5] = "Z"
> 
> i.e when I print buffer it should print ABCXYZ and not just XYZ.
> 
> Thank You!
>





      

[Non-text portions of this message have been removed]

Reply via email to