diff --git a/demo/main.cpp b/demo/main.cpp new file mode 100644 index 0000000..866bee0 --- /dev/null +++ b/demo/main.cpp @@ -0,0 +1,12 @@ +#include +#include "ovo.h" + +int main(int argc, char const *argv[]) +{ + ovo::info i; + + i.hi(); + std::cout << i.version << std::endl; + i.detail(); + return 0; +} diff --git a/demo/ovo.cpp b/demo/ovo.cpp new file mode 100644 index 0000000..77bf458 --- /dev/null +++ b/demo/ovo.cpp @@ -0,0 +1,49 @@ + +/** + * ovo Main File + * + * @category ovo + * @package ovo.cpp + * @copyright Copyright (c) 2019 EEENeko (https://github.com/eeeneko) + * @license GNU General Public License 2.0 + * @version 0.0.1 + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "ovo.h" + + +/****** Class info ******/ + +/** + * Display version + * + * @access public + */ +string ovo::info::version = "Version 0.0.1"; + +/** + * Display a welcome string + * + * @access public + * @param void + * @return void + */ +void ovo::info::detail() +{ + cout << endl << "Lib Name: ovo" < +#include +#include + +using namespace std; + + +namespace ovo{ + + /** + * Show info about ovo + * + * @author yimian + * @category ovo + * @package ovo + */ + class info{ + + public: + static string version; + inline void hi(){cout << "Hello OvO~" << endl;}; + void detail(); + }; +} + + +#endif \ No newline at end of file diff --git a/dist/ovo.cpp b/dist/ovo.cpp new file mode 100644 index 0000000..77bf458 --- /dev/null +++ b/dist/ovo.cpp @@ -0,0 +1,49 @@ + +/** + * ovo Main File + * + * @category ovo + * @package ovo.cpp + * @copyright Copyright (c) 2019 EEENeko (https://github.com/eeeneko) + * @license GNU General Public License 2.0 + * @version 0.0.1 + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "ovo.h" + + +/****** Class info ******/ + +/** + * Display version + * + * @access public + */ +string ovo::info::version = "Version 0.0.1"; + +/** + * Display a welcome string + * + * @access public + * @param void + * @return void + */ +void ovo::info::detail() +{ + cout << endl << "Lib Name: ovo" < +#include +#include + +using namespace std; + + +namespace ovo{ + + /** + * Show info about ovo + * + * @author yimian + * @category ovo + * @package ovo + */ + class info{ + + public: + static string version; + inline void hi(){cout << "Hello OvO~" << endl;}; + void detail(); + }; +} + + +#endif \ No newline at end of file diff --git a/docs/info/ovo_info.md b/docs/ovo_info/README.md similarity index 100% rename from docs/info/ovo_info.md rename to docs/ovo_info/README.md diff --git a/docs/ovo_string/README.md b/docs/ovo_string/README.md new file mode 100644 index 0000000..9b57868 --- /dev/null +++ b/docs/ovo_string/README.md @@ -0,0 +1,2 @@ +## Class string +### string.xxx \ No newline at end of file diff --git a/test/.gitignore b/test/.gitignore new file mode 100644 index 0000000..adb36c8 --- /dev/null +++ b/test/.gitignore @@ -0,0 +1 @@ +*.exe \ No newline at end of file