All pastes #80304 Raw Edit

Stuff

public text v1 · immutable
·published 2006-07-06 08:43 UTC
rendered paste body
#include <cstdlib>
#include <iostream>
#include <vector>
using namespace std;

int main(int argc, char *argv[])
{
    vector<int *> caz, maz;
    double sti=0.0f;
    int* istip;
    for (int isti=0; isti<10; isti++)
    {
    istip=&isti;    
    caz.push_back(istip);
    maz.push_back(istip);
    }
    *(caz[3])=11;
    cout<<*caz[3]<<" "<<*maz[3]<<endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}