Minh Nguyen / Misc

Misc.h

Committer:
khaiminhvn
Date:
2021-03-25
Revision:
4:68ef570210d3
Parent:
3:a1a820da71f6

File content as of revision 4:68ef570210d3:

#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 string blank(int n);
    static void fill(int *arr, int val, int size);
};

#endif