c++ - Cannot include <vector> -


i using gcc under os x , error

fatal error: 'vector' file not found 

when trying include vector implementation. other includes like

#include <stdio.h> #include <stdlib.h> 

are working. vector file located?

vector not part of c. must use c++.

try compiling g++ rather gcc


Comments

Popular posts from this blog

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

ruby on rails - ActiveRecord order not working -