Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CodingNovice

    Bug in Classview?

    I made a class with this sort of structure... class A { public: // funcs private: class A_Impl; A_Impl* impl_; }; and in the implementation file.... class A::A_Impl { // A's implementation } Now I believe this is right and it compiles fine but in classview instead...
  2. CodingNovice

    Can you extern a namespace scope variable?

    I have been using C++ lately rather than C. In C we have no namespaces so defining a global variable in one translation unit and declaring it as extern in another is fine. I know I can also do that in C++ but what I am trying to do instead is to have a namespace scoped variable extern'ed. Can it...
  3. CodingNovice

    Object orienting the win32 API

    Hi. I have been programming for windows in C for a few years now but would like in future to use C++. I originally learnt API programming with Petzold's excellent 4th edition of programming windows. Now when I program in C++ at the moment im really only using it as a better C and not fully OOP...
  4. CodingNovice

    virtual functions

    On the whole I understand virtual functions but there is one thing I cant fathom.... virtuality.h #include <iostream> using std::cout; using std::endl; class A { public: virtual ~A() {} virtual void f() { cout << &quot;A::f()&quot; << endl; } }; class B : public A {...
  5. CodingNovice

    Virtual functions

    On the whole I understand virtual functions but there is one thing I cant fathom.... virtuality.h #include <iostream> using std::cout; using std::endl; class A { public: virtual ~A() {} virtual void f() { cout << &quot;A::f()&quot; << endl; } }; class B : public A {...

Part and Inventory Search

Back
Top