mirror of https://github.com/eeeneko/ovo.git
parent
33d458b5e0
commit
da3a3402e5
8 changed files with 195 additions and 0 deletions
@ -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 |
@ -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 |
@ -0,0 +1,2 @@ |
||||
## Class string |
||||
### string.xxx |
@ -0,0 +1 @@ |
||||
*.exe |
Loading…
Reference in new issue