These are going to be really simple. I just started reading NeXe's first tutorial and I noticed that a lot of the variables are prefixed with g_ ...what does it stand for?
Also, he declared a global HRESULT g_hr; - is it worth it to declare this as a global, should I declare it in main() and pass by reference to other functions if they need it, or declare it in any function that needs it? I don't know how often it's really going to be used.
He's using DX8. I just downloaded 9. I see this: g_pDirect3D=Direct3DCreate8(D3D_SDK_VERSION);
Should I change the Create8 to a Create9 if I want to use the DX9 version?
If you want to look at the tutorial, here's a link that will take you directly there. That's all for now, I'm going to bed