how to find index of elelmrny in vector cpp code example Example: c++ get vector element by index vectorName[5]; // Simple