struct vs arrayImagine following data:
You have 100 records of it.
Linked list remove node...I am banging my head!![code]node* head=new node;[/code] [tt]head->next[/tt] is not initialized and pointing to random memo...
Pairs with vector[quote]string values to type int [/quote]You want to convert strings to corresponding ints? If so, s...
avoid repeating a statementSolution 1:
Combine loops into one
Move loop with its body inside separa...
virtual destructor Yes. two concepts at work:
1) Destructors are called from most derived to base
2) Virtual calls call...