   help please C++
  hi guys i am struggling here debugging my program. here is one of the .cpp file which is buggy.#include <iostream>#include "namesp.h"void other(void);void another(void);int main(void){using debts::Debt;using debts::showDebt;Debt golf = { {" Benny", "Goatsniff"}, 120.0 };showDebt(golf);other();another();return 0;}void other(void){using std::cout;using std::cin;using std::endl;using namespace debts;Person dg = {"doodbles", "Glister"};showPerson(dg);cout << endl;Debt zippy[3];int i;for (i = 0; i < 3; i++)getDebt(zippy);for (i = 0; i < 3; i++)showDebt(zippy);cout << " Total debt: £" << sumDebts(zippy, 3) << endl;.cpp;.cpp;.cpp;return;}void another(void){using pers::Person;;Person collector = { "Milo", "Rightshift" };pers::showPerson(collector);std::cout << std::endl;}the bugs state:error C2143: syntax error : missing ';' before '.'and they are line 37please help me. oh and btw please can u explain what the 3 .cpp; bits of code mean as well :D   
  I have no idea what the 3 ".cpp" are doing there.  They don't mean anything.  Remove them and your error should go away. Cheers, Bob   ;  thanks :D i had never seen them before untill now and was wondering what they were doing there :P;  yeah i also think the ".cpp;.cpp;.cpp;" thing is the reason of your error :DEDIT: oops you already replied when i replied must be the same time :D   ;Quote:Original post by emforceusing pers::Person;;This double semi colon could cause future problems, i't probably wont but i just thought i'd point it out.;Quote:Original post by PureBlackSinQuote:Original post by emforceusing pers::Person;;This double semi colon could cause future problems, i't probably wont but i just thought i'd point it out.I don't think it will. If he is using visual studio it just represents aend of statement. If you put 100 semi-colon in random spots where its valid,then the compiler will just take it so as an end of statement, which should noteffect anything.   ;  in what compiler is the namesp.h inculded.......   ;Quote:Original post by neerajshastryin what compiler is the namesp.h inculded.......What do you mean?  namesp.h is obviously a custom local file and has nothing to do with what headers ship with the compiler.   ;  thanks for all your help btw the double semi colon was probably a mistype and the namesp.h is a custom header. just to straighten things out. :D   