1, as far as possible iterative operation, do not use a similar vector <data>;
data [0] .value operation
Try to take it-> value of operations
2, remember to set breakpoints when debugging, do not blindly to view program errors
1, as far as possible iterative operation, do not use a similar vector <data>;
data [0] .value operation
Try to take it-> value of operations
2, remember to set breakpoints when debugging, do not blindly to view program errors