Re: D3DXCreateMeshFVF and the NEW statement.
From: Rich [Microsoft Direct3D MVP] (legalize+jeeves_at_mail.xmission.com)
Date: Tue, 03 Aug 2004 11:52:12 -0700
[Please do not mail me a copy of your followup]
Eyal Teler <firstname.lastname@example.org> spake the secret code
>BTW, Rich's way is better, but I won't suggest it to someone just
>starting to learn C++.
I can see your point, but I think it is easier to start with the
standard containers since you will spend less of your time chasing
down difficult memory bugs (which are too easy for a novice to code)
instead of focusing on the task you want to accomplish.
Using containers and smart pointers is easier than implementing them.
-- "The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ: <http://www.xmission.com/~legalize/book/> Pilgrimage: Utah's annual demoparty <http://pilgrimage.scene.org>