Does anyone use linux g++? If so i tried to declare a vector and it fails. Saying function is undeclared ususaly meaning the function is is either diffent from the ones i learned and the books i have read in the past or what, but here it is.
Code:
//// creates a empty Vector Container
vector<int> Can;
Now I just wanted to create a empty one just so i can define it later.
But it keeps giving me function needs to be declared.
In my windows compiler or Bloodshed i used to use both its #include <vector>
and i did the same here to be included so Im clueless hopefully someone has used g++ before.
Also i have done it this way
You know spacing it away from the word vector