lundi 17 septembre 2018

Use unique_ptr for an array, how to view each value in debug mode "local" or "watch" tags

below are simple commands. what should I do to view the every array value in debug mode?

    int N=3;
    unique_ptr<int []> I(new int[N]());

    for (int i=0; i<N; i++)
    {   
         I[i]=i*3;  
    }  

Aucun commentaire:

Enregistrer un commentaire