Skip to main content

Posts

Showing posts from February, 2021

How to start learning Web-development

Encapasulation , Abstration , Polymorphism , Inheritance in c++

  Encapasulation in c++ :- It is defined as when you wrap and bind all related data together in a single form or in a single unit or you can defined as binding of data together and manipulating it are called encapasulation in C++ . For Example : If there is a three department in a company are Finance , sale , research department  finance department handle all finance related data and sales department handle sale related data if finance department needs information about any other section they need permission of head of the department to access it  this called encapasulation . this also lead data abstraction or data hiding #include   <iostream> using   namespace  std; class   container { private:     // data hidden from outside world      int   x ; public:      void   given ( int  a)     {          x   =  a;     }      int   display ()     {          return   x ;     } }; int   main () {      container   value ;      int   a ;      cin   >>   a ;      value . given ( a );   

Class and Object , function overloading Explanation in c++ language

 Classes in C language - It is a user defined data type data type which hold its own data members and member function which can be accessed and user by creating an instance of that class and we say that class is building block that leads to Object Oriented programming  Data member -  It is the data variable of the function  Member function - It are the function use to manipulate these function variable  For Example -  A car is an object the car has attribute such as weight , color and methods such as drive and brake Attribute and method are basically variable and function that belong to class syntax - class   class{        // The class    public :              // Access specifier      int   Num;         // Attribute (int variable)     string word;   // Attribute (string variable) }; Program - // class explaination #include <iostream> using   namespace  std; class   classname {      public:      string   mystring ;      void   printfun ()     {          cout   <<   "Gee

Start menu are not open and showing " Critical Error"

How we solve start menu showing critical error - Hello friends  here we tell you about a critical problem of window 10 where the windows 10 start menu are not opening and showing critical error on desktop and here you are getting the simple solution of this problem and the solution of the problem is reset of your device and this is the one and last solution of this issue to reset your device by going your setting and format it if you have any important document , file , Photos , videos e.t.c are in your PC or laptop so you please take backup of that document for safer side else if you choose reset only windows application not your personal file then your files are doesn't effected by reset or formatting data by going  YOU HAVE TO GO ON SETTING THEN UPDATE AND SECURITY THEN RECOVERY AND THEN GO TO RESET THIS PC    After you clicking on reset pc you can get option to delete all personal files , pictures , videos or option to delete / reset only windows setting so this is all up to yo