1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "CellFormula.h" #include <cstring> String CellFormula::getValueForPrint() { return String() += value; } void CellFormula::parseAndSetValue(const char* str) { } void CellFormula::readFromFile(std::ifstream& file) { file >> rawFormula; } void CellFormula::writeToFile(std::ofstream& file) { file << rawFormula; }