I'm in desperate need of some in depth tutorials that talk about classes and where to put stuff, because I keep going through a DirectX tutorial and It doesn't show where I put the stuff.
such as where I declare things.
I'm in desperate need of some in depth tutorials that talk about classes and where to put stuff, because I keep going through a DirectX tutorial and It doesn't show where I put the stuff.
such as where I declare things.
You mean declaring within a class? Here's how:
Post a link to the tutorial as well, so we can see what they are doing.Code:class Foo { private: int Bar; char *lpFooBar; public: int GetBar(); void SetBar(int value); void GetFooBar(char *lpBuffer,int nSize); void SetFooBar(char *lpBuffer,int nSize); Foo(); ~Foo(); };
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials