update readme

yimian
IoTgod 5 years ago
parent 33d458b5e0
commit da3a3402e5
  1. 12
      demo/main.cpp
  2. 49
      demo/ovo.cpp
  3. 41
      demo/ovo.h
  4. 49
      dist/ovo.cpp
  5. 41
      dist/ovo.h
  6. 0
      docs/ovo_info/README.md
  7. 2
      docs/ovo_string/README.md
  8. 1
      test/.gitignore

@ -0,0 +1,12 @@
#include <iostream>
#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;
}

@ -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 <stdio.h>
#include <stdlib.h>
#include <io.h>
#include <fstream>
#include <string>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include <cstring>
#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" <<endl;
cout << "Org: EEENeko (https://github.com/eeeNeko)" << endl;
cout << "Author: Jianzhi Fan, Yimian Liu" << endl;
cout << "license GNU General Public License 2.0" << endl;
cout << "copyright Copyright (c) 2019 EEENeko" << endl << endl;
}

@ -0,0 +1,41 @@
/**
* 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
*/
#ifndef _OVO_H
#define _OVO_H
#include <iostream>
#include <string>
#include <vector>
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

49
dist/ovo.cpp vendored

@ -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 <stdio.h>
#include <stdlib.h>
#include <io.h>
#include <fstream>
#include <string>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include <cstring>
#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" <<endl;
cout << "Org: EEENeko (https://github.com/eeeNeko)" << endl;
cout << "Author: Jianzhi Fan, Yimian Liu" << endl;
cout << "license GNU General Public License 2.0" << endl;
cout << "copyright Copyright (c) 2019 EEENeko" << endl << endl;
}

41
dist/ovo.h vendored

@ -0,0 +1,41 @@
/**
* 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
*/
#ifndef _OVO_H
#define _OVO_H
#include <iostream>
#include <string>
#include <vector>
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

@ -0,0 +1,2 @@
## Class string
### string.xxx

1
test/.gitignore vendored

@ -0,0 +1 @@
*.exe
Loading…
Cancel
Save