what's the difference between abstract class and concreate
class? what's the meaning of standard template library(STL)?
Answers were Sorted based on User's Feedback
Answer / monalisha
In C++ an abstract class is one which defines an
interface, but does not necessarily provide implementations
for all its member functions. An abstract class is meant to
be used as the base class from which other classes are
derived. The derived class is expected to provide
implementations for the member functions that are not
implemented in the base class. A derived class that
implements all the missing functionality is called a
concrete class .
The Standard Template Library, or STL, is a C++ library of
container classes, algorithms, and iterators; it provides
many of the basic algorithms and data structures of
computer science. The STL is a generic library, meaning
that its components are heavily parameterized: almost every
component in the STL is a template.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / dumitru
In C++ an abstract class is a class that contain at least
one pure virtual function ( f()=0; ) and is related at using
this only for inheritance, not for instance an object from
this directly.
The Standard Template Library, or STL, is a C++ library of
container classes, algorithms, and iterators; it provides
many of the basic algorithms and data structures of
computer science. The STL is a generic library, meaning
that its components are heavily parameterized: almost every
component in the STL is a template.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is string part of stl?
How the STL's are implemented, What the difference between templates and STL?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
Is stl part of c++ standard?
What are stl algorithms?
Difference between Structure and Class in C++?
When did c++ add stl?
how to swap two numbers in a linked list without exchanging the data but only the links?
#define CUBE(x) (x*x*x) main() { int a,b=3; a=cube(b++); printf("%d %d",a,b); } What should be the value of a and b? My calc a=4 but syst a=6 how pls tell me if you know it?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
write a program to convert a decimal number in to its equivalent binary number?
What is stl in c++ with example?