Get position out of pointer

前端 未结 0 546
名媛妹妹
名媛妹妹 2021-01-30 05:55

So i must find the index pos in vector by a pointer. For example :

#include ......

int vec[10] ;
int* a=vec;

// i want to see the index pos of a (in this case i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题