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

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -