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 |
What is stl language?
What is a list in c++ stl?
Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?
what's the difference between function overloading and function overiding?
What is the stl, standard template library?
What is the disadvantage of templates ?
Write a program in C/C++ to implement reader- writer problem
Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....
what is electronic software