Skip to content

Commit

Permalink
fix numberical error in v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fhormoz committed Apr 10, 2018
1 parent 71cace4 commit 505e983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CAVIAR-C++/caviar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int main( int argc, char *argv[] ){
while ((oc = getopt(argc, argv, "vhl:o:z:g:r:c:f:")) != -1) {
switch (oc) {
case 'v':
cout << "version 2.1:" << endl;
cout << "version 2.2:" << endl;
case 'h':
cout << "Options: " << endl;
cout << "-h, --help show this help message and exit " << endl;
Expand Down Expand Up @@ -71,7 +71,7 @@ int main( int argc, char *argv[] ){

//program is running
cout << "@-------------------------------------------------------------@" << endl;
cout << "| CAVIAR! | v2.1 | 21/Mar/2018| " << endl;
cout << "| CAVIAR! | v2.2 | 10/Apr/2018| " << endl;
cout << "|-------------------------------------------------------------|" << endl;
cout << "| (C) 2018 Farhad Hormozdiari, GNU General Public License, v2 |" << endl;
cout << "|-------------------------------------------------------------|" << endl;
Expand Down
4 changes: 2 additions & 2 deletions CAVIAR-C++/ecaviar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ int main( int argc, char *argv[] ){
while ((oc = getopt(argc, argv, "vhl:o:z:r:c:f:")) != -1) {
switch (oc) {
case 'v':
cout << "version 2.1:" << endl;
cout << "version 2.2:" << endl;
case 'h':
cout << "Options: " << endl;
cout << "-h, --help show this help message and exit " << endl;
Expand Down Expand Up @@ -111,7 +111,7 @@ int main( int argc, char *argv[] ){

//program is running
cout << "@-------------------------------------------------------------@" << endl;
cout << "| eCAVIAR! | v2.1 | 21/Mar/2018 | " << endl;
cout << "| eCAVIAR! | v2.2 | 10/Apr/2018 | " << endl;
cout << "|-------------------------------------------------------------|" << endl;
cout << "| (C) 2018 Farhad Hormozdiari, GNU General Public License, v2 |" << endl;
cout << "|-------------------------------------------------------------|" << endl;
Expand Down

0 comments on commit 505e983

Please sign in to comment.