hey... i wrote a program in visual studio 2010, when using vector in multi-file program a problem occurs.
i made the program in one piece though and it worked like magic.
when i splitted it into multiple files it didn't recognize the declaration of a function. here are main files:
I was about to say the rather-obvious answer, but then I read the last sentence... Well, sadly such answers aren't always as plainly obvious to those doing the assignments (which most help on this subforum usually are) as they are to us who regularly help out.
which last sentence you mean???
i didn't really get what you said, i'm afraid you're unhappy because of some, is that correct?
and if so, did i say something wrong?
i really didn't mean any offence to any one in the last sentence.
If you got circular dependance, chances that something will be horribly broken is quite high.
I have some idea: try to specify void show_vector(std::vector<int> v);
no, the post is not a joke, i just wanted to give the reader something funny as a try to be friendly, that's all, but i thought my friendliness could be misunderstood in the wrong way, i just didn't understand your comment mr.Ispil, i was afraid you got me wrong ^_^.
and for you mr.MiiNiPaa, i would like to thank you very much for your help, my program now works.