Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: pro*c problem - strcat
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
-- Pierre CHARPENAYReceived on Mon Jul 23 2001 - 05:56:20 CDT
![]() |
![]() |