Design patterns is used in software to solve common problem. They can be grouped into 3 category (Creational patterns, Structural patterns, and Behavioral patterns) You can find some information about design patterns here Creational Patterns Abstract Factory (87) Provide an interface for creating families of related or dependent objects without specifying their concrete classes. Builder … Read more
Here is the question, homework is containing the stack library ( written by me ), inheritance, nested if, constructor, destructor. You can see the sample. I had 2 hours to finish and send , so it is not a perfect code. (Even i would have time, i don’t think i can write perfect code ) … Read more
A class can allow non-member functions and other classes to access its own private data, by making them as friends. This part of C++ tutorial essentially gives two important points. Once a non-member function is declared as a friend, it can access the private data of the class similarly when a class is declared as … Read more
i have studied c++ for my exam today and i will explain how can you compile c/c++ in linux also there were some error that i want mention. 1.install eclipse (not necessary for compiling) probably you can find it from your package manager if there isn’t use this link: http://www.eclipse.org for pardus open pisi search … Read more
