Function saveCode

Function Documentation

void saveCode(savedCodeStr &savedCode, std::string &code)

function to save specific sections of the code in the saved code structure

Parameters:
  • savedCode – saved code structure passed by reference where the saved code is stored

  • code – code string where the code is extracted and then deleted