Ask coding questions

← Back to all posts
How do you create a list in c++
isaiah08

How do you create a list in c++? It must be of ints, and how do you loop through it?

Voters
isaiah08
Comments
hotnewtop
SixBeeps

C++ does not have lists, it has vectors instead. Here's some docs about how to use them.