I'd like to start by saying I am a computational biophysicist, not a software engineer, so my knowledge of programming is limited to scientific computation (I use C++, Matlab, and R).
I was recently asked to port a huge package of code (~10,000 lines) to Linux from MS Visual C++, where I've been developing some code. They knew I was writing in Linux and didn't tell me until nearly a year later that they wanted it integrated with old code in Windows.
To be honest, I have no idea where to start. I was able to put together a MakeFile and compile successfully, but I get a segmentation fault, which after investigation by valgrind, is probably related to the hundreds of mismanaged memory assignments. Is there a good place for me to start that doesn't require me to learn MS Visual C++ just to get this working in Linux? Any help would be greatly appreciated. Thanks!
EDIT: Thanks for all the help so far. I'm definitely a newcomer to "real" programming so I'm not even always clear as to how I should describe my problem. Thanks for being understanding and providing some good starting points.