I used below codes to pass a value from vector to my cpp file. While i was doing that, i got segmentation fault in my main cpp? Is there anyway to pass the vector value to my main cpp? thx for the...