Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / April 2006

Tip: Looking for answers? Try searching our database.

in-place function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
peter.mcclymont@gmail.com - 03 Apr 2006 05:36 GMT
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.
peter.mcclymont@gmail.com - 03 Apr 2006 05:47 GMT
Oh, I am talking about doing all this in C++. Visual studio 2003.

Thanks,

Peter.
Bruno van Dooren - 03 Apr 2006 07:17 GMT
> 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?

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.