Search:

Type: Posts; User: elizas

Search: Search took 0.00 seconds.

  1. Why Prefix is faster than Postfix

    Prefix operation is faster when compared to postfix operation.
    Now let us see how both postfix and prefix work.

    // postfix
    iterator operator++(int)
    {
    iterator _Tmp = *this;
    ++*this;
    return...
  2. Detecting Memory leak in Visual Studio (Debug mode)

    The memory leak information is printed on "Output" window.
    [ This advantage is in "Debug" mode only. ]
    Example


    int _tmain()
    {
    int* ptr = NULL;

    ptr = (int*)malloc(sizeof(int)*20);
Results 1 to 2 of 4