I would like to start with the fact that I am a computational biophysicist and not a software engineer, so my programming knowledge is limited to scientific computing (I use C ++, Matlab and R).
Recently, I was asked to port a huge package of code (~ 10,000 lines) to Linux from MS Visual C ++, where I developed some code. They knew that I was writing in Linux and did not tell me almost a year later that they wanted it to be integrated with old code in Windows.
Honestly, I have no idea where to start. I managed to compile the MakeFile and compile it successfully, but I get a segmentation error, which, after examining valgrind, is probably related to hundreds of incorrect memory assignments. Is there a good place for me to start, which does not require me to learn MS Visual C ++ in order for this to work on Linux? Any help would be greatly appreciated. Thanks!
EDIT: Thanks for all the help so far. I am definitely new to "real" programming, so I don’t always understand how I should describe my problem. Thank you for understanding and providing good starting points.
source share