diff options
| Commit | 472d7fe3f346dacb18634f2c0c95ef6ef9d2e9cc (patch) | |
|---|---|---|
| Author | 2022-05-28 18:04:20 +0300 | |
| Committer | 2022-05-28 18:04:20 +0300 | |
| Files | 200fdd2512f6fe88e9decf09370928153b8ed7a8 /src | |
| FMI-OOP-P2_Tables-472d7fe3f346dacb18634f2c0c95ef6ef9d2e9cc.tar FMI-OOP-P2_Tables-472d7fe3f346dacb18634f2c0c95ef6ef9d2e9cc.tar.gz FMI-OOP-P2_Tables-472d7fe3f346dacb18634f2c0c95ef6ef9d2e9cc.zip | ||
| Parent | 857b5085a9402f2f7c968363b58b8cdbc7697cc7 (diff) | |
Autocommit at 28.05.2022 @ 18:04
1 files changed, 6 insertions, 0 deletions
| -rw-r--r-- | src/Models/Table.cpp | 6 |
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 <cstring> Table::Table(unsigned rows, unsigned cols) { cells = List<List<Cell*>>(rows); for (unsigned i = 0; i < rows; i++) cells[i] = List<Cell*>(cols); } + +void Table::putCell(unsigned row, unsigned col, const char* rawValue) { + unsigned intParse = atoi(rawValue); + unsigned doubleParse = atof(rawValue); +} |
