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

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -