Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Vectors is there a difference

$
0
0

@cyrstem wrote:

hi i been wondering if there is any difference between writing a vector like this :
std::vector<float> myPositions; or vector<float> myPost
and
std::size_t i = 0; i < myPositions.size(); i++ or int i = 0 < myPositions.size(); i++
i wonder because i saw this recently in some examples and i wonder if there is any reason for doing it like this

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles