--- In [email protected], "hamoodmeero" <[EMAIL PROTECTED]> wrote:
>
> HELLO AGAIN....HOW CAN I CONVERT HE FOLLOWING cout<<message[j]
<<" " ;
>
> IN TO A C LANGUAGE...AND I WANT THE J TO BE A STRING ....FOR
INSTANCE
>
>
>
> for (int j = 0 ; j < counter ; j++ )
> cout<<message[j]<<" " ; ...so i want this statement in a c
> language..how can i do that ?!
>
well my freind,
this is your code in c.
for(j=0;j<counter;j++)
{
printf("%c",message[j];
}
if you want to print character than put "%c" in printf and if you want
to print number than put "%d" in printf.
hope you will get your answer.by kp enjoying code
anand