|
|
Thomas J. Gritzan wrote:
> Andy Champ schrieb:
>> Thomas J. Gritzan wrote:
>>>
>>> You are aware that this is the comp.lang.c?
>>> f'ups set to c.l.c++
>>>
>>
>> He might be. The original question was about sprintf - and that's
>> probably why he posted to both, with follow-ups to comp.lang.c only.
>
> The above refers to Jim Langston, who is long enough in writing here
> to know that C++ specific solutions are offtopic in c.l.c and belong
> to c.l.c++.
>
> If someone writes wrong C++ code to c.l.c++, there are better chances
> that someone points it out.
>
>> (the problem was he was returning a pointer to an on-stack 2-char
>> buffer, which was the output buffer for the sprintf)
Actually all my replies came from comp.lang.c++, didn't even subscribe to
this newsgroup before today since I'm primarily a C++ coder. I'm sorry that
my posts wound up here in comp.lang.c. I normally just hit reply to group
and enter my reply. This is why cross posting is so bad.
I'm sorry for poluting c.l.c with c++ code.
I'd promise not to do it again, but I know that the next time someone posts
to comp.lang.c and comp.lang.c++ I won't notice and will reply to group and
it'll post on both.
--
Jim Langston
tazmaster@xxxxxxxxxxxxxx
|
|