Converted archives from c style code to c++