Assume v is a vector that has been declared and initialized. Write an expression that evaluates to true if there are any values stored in v.
.
.
Click on the title for the solution
.
.
(v.empty()==false) ? true : false
.
Click on the title for the solution
.
.
This is the answer:
:
(v.empty()==false) ? true : false
Comments
Post a Comment