Skip to content

VECTOR_size

BigETI edited this page Jul 17, 2018 · 2 revisions

Description

Get the size of the vector

Returns

Size of the vector

Syntax

VECTOR_size(Vector:vector)

Example

new Vector:vector;
VECTOR_push_back_val(vector, 10);
VECTOR_push_back_val(vector, 20);
VECTOR_push_back_val(vector, 30);
printf("Size of vector: %d", VECTOR_size(vector));

Clone this wiki locally