#include
* Bastian Blank [Fri, Jul 18 2008, 03:37:39PM]:
> > But if you don't check it and rely on the function to do what it has
> > to do (i.e. write the result into the buffer in the argument) then you
> > silently get a buffer with undefined data back (most likely
> > unchanged).
>
> No. You
On Fri, Jul 18, 2008 at 02:57:58PM +0200, Eduard Bloch wrote:
> > Please explain. In C++ there is no implicit conversion between int and
> > char *.
> Exactly. So if you check the return value then the compiler will fail
> (like in the test case above) and you are lucky to notice the problem.
So i
> Please explain. In C++ there is no implicit conversion between int and
> char *.
Exactly. So if you check the return value then the compiler will fail (like in
the test case above) and you are lucky to notice the problem.
But if you don't check it and rely on the function to do what it has to
3 matches
Mail list logo