What is not a DDBMS

The following are not a DDBMS :


 A time sharing computer system.

 A loosely or tightly coupled multiprocessor system.

 A database which resides at one of the nodes of a network of computers – this is a centralized database on a network node.

Advantages and disadvantages of DDBMS


Advantages : 


 Reflects organizational structure 
 Improved sharability and local autonomy
 Improved availability Improved reliability 
 Improved performance
 Modular growth 
 Less danger on single-point failure

Disadvantages:


 Complexity 
 Cost
 Security
 Integrity control more difficult
 Lack of standards
 Lack of experience
 Database design more complex
 Possible slow response

STRING.CPP with overloaded operator +


#include <iostream.h>
#include <string.h>

class String {
   char *char_ptr;   // pointer to string contents
   int length;       // length of string in characters
public:
   // three different constructors
   String(char *text);           // constructor using existing string
   String(int size = 80);        // creates default empty string
   String(String& Other_String); // for assignment from another
                                 // object of this class
   ~String() {delete char_ptr;}; // inline destructor
   int Get_len (void);
   String operator+ (String& Arg);
   void Show (void);
};

Advantage of Inline Function

In hard real time systems, the most important factor is execution time of codes. So when you call functions especially in loops you loss a time for calling a function and return from it. To avoid this lose of time (no need for function call mechanism) put inline keyword in front of a function declaration as shown below: 

inline double cube( double x) 
{
    return x*y*z;
}