cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
finding 2 elements in one vector iterati
finding 2 elements in one vector iteration
Jan 31, 2011 at 9:34am UTC
GulHK
(110)
Hello All
is there anyway I can find two elements in a vector in one iteration? e-g
1
2
3
4
if
(find(
this
) AND find(
this
)) {
// then do this
}
Thanks
Jan 31, 2011 at 10:03am UTC
stereoMatching
(308)
http://www.cplusplus.com/reference/algorithm/find/
substitude the algorithm to the
if
(find(
this
) AND find(
this
))
Topic archived. No new replies allowed.