I was just compiling a program using visual studio C++ and it gave me an errror saying that size_t was not part of the standard library. Explaining a little bit more in the C standard library there is a standard type size_t which can only be assigned a positive int number.
I have a line of code saying
typedef std::size_t size_type;

which defined the size type as size_t, It didnt give me any errors while running on linux however in visual studio I get an error saying
error C2039: 'size_t' : is not a member of 'std'
Does this mean that maybe my standard libraries in visual studio need an update or is there any other reason why it is giving me this error


Thanx in advance byeeee