Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitf192b81a575a9599c52713ea9eec66a95a70a561 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-29 12:49:37 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-29 12:49:37 +0300
Files6ab95aa830b9fa1aa664c019800264b7334166a0 /src
FMI-OOP-P2_Tables-f192b81a575a9599c52713ea9eec66a95a70a561.tar
FMI-OOP-P2_Tables-f192b81a575a9599c52713ea9eec66a95a70a561.tar.gz
FMI-OOP-P2_Tables-f192b81a575a9599c52713ea9eec66a95a70a561.zip
Parentf9f40661ea77882f5bf88cf70c46398a6a5da29e (diff)
Autocommit at 29.05.2022 @ 12:49
2 files changed, 2 insertions, 2 deletions
-rw-r--r--src/Models/Table.cpp2
-rw-r--r--src/main.cpp2
diff --git a/src/Models/Table.cpp b/src/Models/Table.cpp
index ce902f9..66edef4 100644
--- a/src/Models/Table.cpp
+++ b/src/Models/Table.cpp
@@ -25,7 +25,7 @@ bool containsNumber(const char*& str) {
}
#define abs(a) ((a < 0) ? -a : a)
-
+#include <iostream>
void Table::putCell(unsigned row, unsigned col, const char* rawValue) {
Cell* newCell;
diff --git a/src/main.cpp b/src/main.cpp
index b0185d3..2814ef3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,7 +2,7 @@
int main() {
Table table(5, 5);
- table.putCell(0, 0, "8");
+ table.putCell(0, 0, "8.6");
table.putCell(0, 1, "3");
table.putCell(0, 2, "String");
table.putCell(0, 3, "= 3 * R0C1 + R0C0 ^ R0C1 * 9 - 10");