Detailed newbie tutorials.

This is a discussion on Detailed newbie tutorials. within the C++ Programming forums, part of the General Programming Boards category; I'm in desperate need of some in depth tutorials that talk about classes and where to put stuff, because I ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    4

    Detailed newbie tutorials.

    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.

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    You mean declaring within a class? Here's how:

    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();
    };
    Post a link to the tutorial as well, so we can see what they are doing.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 04-06-2007, 05:10 PM
  2. Why don't the tutorials on this site work on my computer?
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2006, 10:39 PM
  3. Wiki for Tutorials
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 08-16-2005, 03:03 PM
  4. CProgramming.com should update their tutorials.
    By PorkyChop in forum C++ Programming
    Replies: 17
    Last Post: 09-19-2004, 10:51 PM
  5. Best way to organize tutorials
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 05-30-2004, 04:41 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21