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++ / June 2005

Tip: Looking for answers? Try searching our database.

Deleting Int32?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rasika WIJAYARATNE - 22 Jun 2005 01:04 GMT
I'm reading page 40 of "Managed .NET and C++ Development" by Stephen Fraser
and it says:

"Managed C++ value types default to being garbage collected when defined as
pointers, wheras traditional C++ data types don't. Because this is the case,
pointers that you allocate using int need to be deleted."

But isn't int just an alias for Int32???

Rasika.
Ronald Laeremans [MSFT] - 22 Jun 2005 01:52 GMT
> I'm reading page 40 of "Managed .NET and C++ Development" by Stephen Fraser
> and it says:
[quoted text clipped - 6 lines]
>
> Rasika.
Not for the purpose of creating a pointer to it in the 2002 and 2003
release.

an     int* == int __nogc *
and an Int32* == int __gc *

Ronald Laeremans
Visual C++ team
Rasika WIJAYARATNE - 22 Jun 2005 02:26 GMT
Ronald,

Thank you for the information. So it is different in 2005?

Im very new to MVC++. Is there a place I can get more information about the
2005 release's differences from 2003?

Rasika.

> > I'm reading page 40 of "Managed .NET and C++ Development" by Stephen Fraser
> > and it says:
[quoted text clipped - 14 lines]
> Ronald Laeremans
> Visual C++ team
Ronald Laeremans [MSFT] - 24 Jun 2005 22:47 GMT
> Ronald,
>
[quoted text clipped - 4 lines]
>
> Rasika.

This is a great starting point specifically for the lanaguage changes
from Managed Extensions in 2002 and 2003 to the .NET support in 2005:
http://blogs.msdn.com/slippman/archive/2004/08/21/218487.aspx

Ronald
Rasika WIJAYARATNE - 30 Jun 2005 04:32 GMT
Great, thanks for all your help.

> > Ronald,
> >
[quoted text clipped - 10 lines]
>
> Ronald

Rate this thread:







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.