I have a problem with using header files: i've got a program in which i include the <vector> header and another header (let's say <header_x> ). Now the problem is that <header_x> has a definition for a vector which is nothing to do with the definition in the <vector> header, so when i come to compile i get an error message about the type vector<float> being ambiguous.
i can go in to the <header_x> file and comment out the line which declares the other vector type(it's actually a function i think) and everything works fine but this seems like a bodge job and what if i need to use this vector in the future?
Can anyone tell me how i get around this issue ?
I hope i've been clear, if not ask me to elaborate.