diff options
| Commit | fc9b2e458008205f6914aade0cfc850113705270 (patch) | |
|---|---|---|
| Author | 2022-06-14 14:39:35 +0300 | |
| Committer | 2022-06-14 14:39:35 +0300 | |
| Files | a4240d30522bc5f30cf2ebdca3859cf7fe4e200b /src | |
| FMI-OOP-P2_Tables-fc9b2e458008205f6914aade0cfc850113705270.tar FMI-OOP-P2_Tables-fc9b2e458008205f6914aade0cfc850113705270.tar.gz FMI-OOP-P2_Tables-fc9b2e458008205f6914aade0cfc850113705270.zip | ||
| Parent | 553111770e5f3df085130378e249e6cf52859a4d (diff) | |
Autocommit at 14.06.2022 @ 14:39
2 files changed, 13 insertions, 8 deletions
| -rw-r--r-- | src/UserInterface/UserInterface.cpp | 17 | ||||
| -rw-r--r-- | src/f.table | 4 |
diff --git a/src/UserInterface/UserInterface.cpp b/src/UserInterface/UserInterface.cpp index c3ecbe3..0fc9e96 100644 --- a/src/UserInterface/UserInterface.cpp +++ b/src/UserInterface/UserInterface.cpp @@ -55,14 +55,15 @@ void UserInterface::com_saveas(const char* params) { } void UserInterface::com_help(const char* params) { - std::cout << "The following commands are supported:" << std::endl - - << "open <file> opens <file>" << std::endl - << "close closes currently opened file" << std::endl - << "save saves the currently open file" << std::endl - << "saveas <file> saves the currently open file in <file>" << std::endl - << "help prints this information" << std::endl - << "exit exists the program" << std::endl; + std::cout << "The following commands are supported:" << std::endl + << "print prints the whole table" << std::endl + << "edit RxCy <data> Replaces the value on row x and column y with the given data" << std::endl + << "open <file> opens <file>" << std::endl + << "close closes currently opened file" << std::endl + << "save saves the currently open file" << std::endl + << "saveas <file> saves the currently open file in <file>" << std::endl + << "help prints this information" << std::endl + << "exit exists the program" << std::endl; } void UserInterface::com_exit(const char* params) { diff --git a/src/f.table b/src/f.table new file mode 100644 index 0000000..6014a99 --- /dev/null +++ b/src/f.table @@ -0,0 +1,4 @@ +10,"Hello World!",123.56 +123 + +"=10+10","=R1C1+R1C3","=R1C1*R1C2","=R1C1*R2C2","=R1C1*R200C1","=10/0","=10/R2C2","=R1C1/R1C2" |
