Monday, November 30, 2015

Three-tier application architecture

Three-tier application architecture

The three tier architecture is a client-server software architecture pattern which consists of 3 layers :Presentation layer (or tier)Application's topmost level, also called graphical user interface or GUI.It displays the services to the user as well as the results of operations.Example of technologies used for this tier : WPF,

Thursday, November 26, 2015

C++ : Private pure virtual method

C++ : Private pure virtual method

class Engine{public:    void SetState( int var, bool val );    {   SetStateBool( int var, bool val ); }    void SetState( int var, int val );    {   SetStateInt( int var, int val ); }private:    virtual void SetStateBool(int var, bool val ) = 0;        virtual void SetStateInt(int var, int val )
C++ : Inheritance types

C++ : Inheritance types

class A {public:    int x;protected:    int y;private:    int z;};class B : public A{    // x is public    // y is protected    // z is not accessible from B};class C : protected A{    // x is protected    // y is protected    // z is not accessible from C};class D :

Thursday, November 12, 2015

C++ : copy constructor

C++ : copy constructor

We already know the basic constructor utility which is : initializing internal members. If not constructor is specified, the default constructor initializes each of class' members with their constructor.Now let's take a look to the copy constructor :Point (const Point & p);This constructor will initialize our object by copying

Monday, November 9, 2015

c++ : lvalue and rvalue

c++ : lvalue and rvalue

l-valueC-definition An object is a manipulatable region of storage; an lvalue is an expression referring to an object....The name 'lvalue' comes from the assignment expression E1 = E2 in which the left operand E1 must be an lvalue expression. C Programming Language (Prentice-Hall, 1988)r-valueC-definitionWhat is sometimes called 'rvalue' is in
Pages (14)123456

 
biz.