From 472d7fe3f346dacb18634f2c0c95ef6ef9d2e9cc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 May 2022 18:04:20 +0300 Subject: Autocommit at 28.05.2022 @ 18:04 --- src/Models/Table.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Models/Table.cpp') diff --git a/src/Models/Table.cpp b/src/Models/Table.cpp index 21fb6a3..595bce2 100644 --- a/src/Models/Table.cpp +++ b/src/Models/Table.cpp @@ -1,7 +1,13 @@ #include "Table.h" +#include Table::Table(unsigned rows, unsigned cols) { cells = List>(rows); for (unsigned i = 0; i < rows; i++) cells[i] = List(cols); } + +void Table::putCell(unsigned row, unsigned col, const char* rawValue) { + unsigned intParse = atoi(rawValue); + unsigned doubleParse = atof(rawValue); +} -- cgit v1.3.1-23-gd82d