Error: vector does not name a type August 11, 2023 by Tarik You forgot to add std:: namespace prefix to vector class name.