comp.lang.c
[Top] [All Lists]

Re: Integer to string conversion

Subject: Re: Integer to string conversion
From: "Thomas J. Gritzan"
Date: Wed, 30 Apr 2008 01:56:31 +0200
Newsgroups: comp.lang.c


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)

--
Thomas

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy