Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: pro*c problem - strcat
Pierre Charpenay <pierre.charpenay_at_unilog.fr> wrote in message news:<3B5C02D4.28EE9B11_at_unilog.fr>...
> Izabela Sowula a écrit :
> >
> > ...
> >
> > struct dicRecord
> > {
> >
> > string key;
> > string from;
> > string where;
> >
> > } copyofdictionary[100];
> >
> > ...
> > char g_from[82] = {"FROM PLANT"};
> >
> > ...
> > strcat(g_from,",");
>
> With C or C++, there's no problem with this syntax.
>
> >
> > or
> >
> > strcat(g_from,copyofdictionary[result].from);
>
> Here, I'm not so sure, because you mixed "char tpye" and "string class".
> I'm not a specialist of C++, but it seems that with string class you
> must use s1.append(s2) to concatenate s2 to s1.
>
> Is it true or not ?
>
> >
> > ...
> >
> > Izabela
Thanks for your time, I've fixed my problem. It was to do with an error in my own C code (shame on me)
Izabela Received on Thu Jul 26 2001 - 10:23:20 CDT
![]() |
![]() |