hi, i am using Dev-C++ to do my programming at home but when i am in university, it is done on visual basic 2008 and my assignment is to be presented on visual basic. i moved my code onto visual basic and these errors keep coming up;
1>main.obj : error LNK2005: "public: void __thiscall rotors::setup(int,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?setup@rotors@@QAEXHHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in Rotors.obj
1>main.obj : error LNK2005: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall rotors::runEnigma(int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?runEnigma@rotors@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HV23@@Z) already defined in Rotors.obj
1>main.obj : error LNK2005: "public: char __thiscall rotors::runOneChar(int,char)" (?runOneChar@rotors@@QAEDHD@Z) already defined in Rotors.obj
1>main.obj : error LNK2005: "public: int __thiscall rotors::findIn(char const *,char)" (?findIn@rotors@@QAEHPBDD@Z) already defined in Rotors.obj
1>main.obj : error LNK2005: "public: int __thiscall rotors::alpha(char)" (?alpha@rotors@@QAEHD@Z) already defined in Rotors.obj
1>main.obj : error LNK2005: "public: char __thiscall rotors::reflector(char)" (?reflector@rotors@@QAEDD@Z) already defined in Rotors.obj
1>main.obj : error LNK2005: "char * alpha_array" (?alpha_array@@3PADA) already defined in Rotors.obj
1>main.obj : error LNK2005: "char (* rotor)[26]" (?rotor@@3PAY0BK@DA) already defined in Rotors.obj
1>main.obj : error LNK2005: "char * rotorTriggers" (?rotorTriggers@@3PADA) already defined in Rotors.obj
1>\\zeus\mjb10166$\My Documents\Visual Studio 2008\Projects\wow\Debug\wow.exe : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://\\zeus\mjb10166$\My Documents\Visual Studio 2008\Projects\wow\wow\Debug\BuildLog.htm"
1>wow - 10 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
my lecturer said to me its the libraries.. but that's all he said. could someone shed some light on this for me?