Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 6
c x 1

5 Posted Topics

Member Avatar for Sukhbir

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 …

Member Avatar for sanagopi
-1
235
Member Avatar for meabed

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 - …

Member Avatar for Lisa1110
3
1K
Member Avatar for bala24

[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 …

Member Avatar for ~s.o.s~
0
116
Member Avatar for silicon

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 …

Member Avatar for ~s.o.s~
0
272
Member Avatar for bsrivastava

[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, …

Member Avatar for Narue
0
220

The End.