From fc9b2e458008205f6914aade0cfc850113705270 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 14 Jun 2022 14:39:35 +0300 Subject: Autocommit at 14.06.2022 @ 14:39 --- src/UserInterface/UserInterface.cpp | 17 +++++++++-------- src/f.table | 4 ++++ 2 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 src/f.table (limited to 'src') 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 opens " << std::endl - << "close closes currently opened file" << std::endl - << "save saves the currently open file" << std::endl - << "saveas saves the currently open file in " << 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 Replaces the value on row x and column y with the given data" << std::endl + << "open opens " << std::endl + << "close closes currently opened file" << std::endl + << "save saves the currently open file" << std::endl + << "saveas saves the currently open file in " << 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" -- cgit v1.3.1-26-gb76a