Is there any error below, its a code to delete all entires
from a map
#include <map>
#include iostream.h
int main()
{
int i =0;
map <int, char> TestMap;
while(i<3)
{
TesMap.insert(TestMap::value_type(i,Test));
i++;
}
typedef map<int, char> :: iterator mapIter =TestMap.begin();
if(mapIter!=TestMap.end())
{
TestMap.erase(mapItrer);
++mapIter;
}
return 0;
}
No Answer is Posted For this Question
Be the First to Post Answer
write a program that input four digit no and finds it is palindrome or not
totoo po ba ang manga aliens!
Give the output of the following program main() {int ret; ret=fork();ret=fork();ret=fork();ret=fork(); if(!ret) printf("sun"); else printf("solaris");
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What does stl mean in slang?
What is the STL?
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
What does stl stand for in basketball?
method overloading means what?
Waht is inheritance
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 }
Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1