|
Tom Archer wrote:
Cool. Lemme know if you like it or not. When people ask me to refer books I like also to not only give my opinion of the book, but let them know of other programmer's responses - whether or not its different than mine.
Will do
(-_-)
|
|
|
|
|
I think Ivor Horton's "Beginning Visual C++ 6" a nice book to guide you to familiar with the IDE of VC (how to use the development tool, ex. ClassView, FileView, ResourceView, ClassWizard, WizardBar, ProjectSetting, debugging tools, ...). But if you decide to read this book, you should keep it in mind: there're too many errors in this book. There're more than 200 entries in the errata!
Maxwell Chen
|
|
|
|
|
Actually, I think the original poster is only interested in MC++ books.
Cheers,
Tom Archer
Author, Inside C#
A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
|
|
|
|
|
Tom Archer wrote:
Actually, I think the original poster is only interested in MC++ books.
Yep. Your right
(-_-)
|
|
|
|
|
No problem. You seem like a cool guy so I was just busting your chops
Cheers,
Tom Archer
Author, Inside C#
A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
|
|
|
|
|
Oops! You're the original poster. Goes to show that I shouldn't be posting until I wake up
Cheers,
Tom Archer
Author, Inside C#
A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
|
|
|
|
|
Tom Archer wrote:
Oops! You're the original poster. Goes to show that I shouldn't be posting until I wake up
Does that mean you don't think I'm a cool guy... noooooooooooooo!!!!!!!!!!!!!!!!!!!!!!!!!
OK.. over it now
(-_-)
|
|
|
|
|
I knew you were going to come back with that! Well, ok, I knew I would anyway
Cheers,
Tom Archer
Author, Inside C#
A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
|
|
|
|
|
Tom Archer wrote:
I knew you were going to come back with that!
LOL
Tom Archer wrote:
Well, ok, I knew I would anyway
Great minds think alike!!!
(-_-)
|
|
|
|
|
Brian Delahunty wrote:
Great minds think alike!!!
Dude, either you and I watch the same movies/TV shows or you scaring me!
Cheers,
Tom Archer
Author, Inside C#
A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
|
|
|
|
|
Tom Archer wrote:
Dude, either you and I watch the same movies/TV shows or you scaring me!
lol.
(-_-)
|
|
|
|
|
Haha.. You were right!
Maxwell Chen
No code is good code.
|
|
|
|
|
I get lucky like that every once and again Sort of like my investment firm's practice of deciding my stocks based on having monkeys throw darts at a copy of the Wall Stree Journal pinned to the wall
Cheers,
Tom Archer
Author, Inside C#
A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
|
|
|
|
|
Maxwell Chen wrote:
I think Ivor Horton's "Beginning Visual C++ 6" a nice book to guide you to familiar with the IDE of VC (how to use the development tool, ex. ClassView, FileView, ResourceView, ClassWizard, WizardBar, ProjectSetting, debugging tools, ...). But if you decide to read this book, you should keep it in mind: there're too many errors in this book. There're more than 200 entries in the errata!
Thanks but I'm looking for MC++ books. But I have to agree with you. It is a very good book.
(-_-)
|
|
|
|
|
Hi there,
What is __gc statment before defining classes in manged code ?
It's my first post in managed code form
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
__gc tells the compiler that what follows next is a managed type, ie it will be garbage collected.
HTH,
James
Simplicity Rules!
|
|
|
|
|
Thanks for help
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
In MC++ should we always delete the destructor and the implement the Finalize function or we should never do anything?
I am still a little confused about if to leave the desctructor or not
Experts?!!?
Al
|
|
|
|
|
If it behaves like C# the destructor is treated as a Finalize method.... Wonder what would happen if you define both
James
Simplicity Rules!
|
|
|
|
|
The question may also be: What happens if I don't define a destructor what so ever?
Al
|
|
|
|
|
In a pure managed class it will be GC'd as normal... The destructor is just there to free up any non-managed resources during GC. If you do have unmanaged resources though you are encouraged to implement IDisposable so that they can be returned ASAP.
I have no idea what happens when you mix managed/unmanaged together though I assume you could treat it like another system resource, implementing IDisposable and calling Dispose from the destructor/finalize methods.
James
Simplicity Rules!
|
|
|
|
|
So, if I don't have any unmanaged code I could just delete the destructor! Great!
Thanks James!
Al
|
|
|
|
|
Albert Pascual wrote:
So, if I don't have any unmanaged code I could just delete the destructor! Great!
That's what it's called Managed C++. Part of the "managed" is about garbage collection.
Nish
Check out last week's Code Project posting stats presentation from :-
http://www.busterboy.org/codeproject/
Feel free to make your comments.
|
|
|
|
|
I use a lot of vectors for storing pointers to C++ objects. What is the best .NET framework collection type to use in Managed C++ for storing managed classes?
Michael
Communication is the first step towards enlightenment.
|
|
|
|
|
ArrayList is the analogy to vector...
BUT, if you feel adventurous you can get Collection Generator from Chris Sells and create a new template for MC++ (and modify the code so that it works with MC++), then you just create/edit an XML document to create a new Collection type.
Works very well with C#; haven't tested VB.NET's version. Comes with collections for Vectors and HashTables.
James
Simplicity Rules!
|
|
|
|