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
Post a Comment