- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
5 Posted Topics
Re: int i=1; printf("%d,%d,%d",++i,++i,++i); above will give u 4,3,2 on windows VC++ [QUOTE=Dave Sinkula]The correct answer is that there is no correct answer (which is pretty much what it said in the link I previously posted). You are attempting to define undefined behavior. The particular implementation you have may behave just … | |
Re: I Dont agree for usage of virtual functions neagtively impacts the performance..it does..but one needs to pay price for sth he/she wants to use..If one wants to implement the functionality of virtual functions then he/she would have to go thru technique like vtable. Advantages of virtual functions - Readablity - … | |
Re: [QUOTE=bala24;387484]Hi, I was just browsing through some stuff about Initialization lists in C++ and got stuck with a doubt.. Why is it necessary to use initialization lists while giving a value to constants or references ?? Why is it not possible to do so in the normal way..i.e initializing them … | |
Re: Hello use the following insertion sort routine a template based version. [code] //This routine does the insertion sort //This sorts array of object of template class T (T arr[]) & no. of elements in the array (int n) template <class T> void insertionSort(T arr[], int n) { for (int i … | |
[I][COLOR=Red]Moderator edit: This response and its replies have been split from the C and C++ Timesaving Tips sticky because they do not add relevant material, and they are long enough to distract from the intended purpose of the thread. Further replies on this topic may be posted in this thread, … |
The End.