-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUtils.h
More file actions
45 lines (33 loc) · 878 Bytes
/
Copy pathUtils.h
File metadata and controls
45 lines (33 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// Created by 赵健 on 2021/8/15.
//
#ifndef ANDROIDHELPER_UTILS_H
#define ANDROIDHELPER_UTILS_H
#include <vector>
#include <list>
#include <string>
using namespace std;
class Utils {
public:
// utils
static int getLen(int * arr);
static void printVector(vector<int> v);
static void printVector2(vector<vector<int>> obj);
static void printVectorWithAddr(vector<int> obj);
static void output(const std::string & s);
// int
static void outint(int num);
static void ShowInt(int);
// list
static void printList(list<int> l);
// string
static void println(const std::string & s);
static void display(const string & s);
// double
static void ShowDouble(double);
// source
static vector<int> vector001();
static vector<int> vectorFrom(int arr[]);
// char
};
#endif //ANDROIDHELPER_UTILS_H