in-place function

  • Thread starter Thread starter peter.mcclymont
  • Start date Start date
P

peter.mcclymont

What is an in-place function?

And I guess if that is answered it will be easy to work out what a
non-in-place string is.

What is the standard way to write a 'library function', e.g. one that
reverses a string.

Thanks,

Peter.
 
Oh, I am talking about doing all this in C++. Visual studio 2003.

Thanks,

Peter.
 
What is an in-place function?
And I guess if that is answered it will be easy to work out what a
non-in-place string is.

in-place means that the operation is done directly on input-data.
non-in-place means that the operation is not done directly on input data,
but a temporary buffer is used.
At least that is the definition you'll find in the MSDN glossary.
What is the standard way to write a 'library function', e.g. one that
reverses a string.

Writing a library function means that you define a function with input and
output parameters, and then implement that function so that others can call
it.
If you want that function to be redistributable in a separate library you'd
have to build a dll that contains the function.
Other options are to build a static library, a COM class or a .NET managed
class library.

It depends on your requirements. What are you trying to achieve?

--

Kind regards,
Bruno.
(e-mail address removed)
Remove only "_nos_pam"
 
Back
Top