Minh Nguyen / Misc

Misc.h

Committer:
khaiminhvn
Date:
2021-03-23
Revision:
3:a1a820da71f6
Parent:
2:31917884f2d4
Child:
4:68ef570210d3

File content as of revision 3:a1a820da71f6:

#ifndef MISC_H
#define MISC_H

//INCLUDES
#include "mbed.h"
#include "string"

class Misc{
    public:
    static string itos(int n);
    static string itos(int n, int w);
    static string itos(float n);
    static string itos(float n, int w);
    static void fill(int *arr, int val, int size);
};

#endif