Team repo

Dependencies:   mbed QEI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers list.h Source File

list.h

00001 #ifndef MBED_LIST_H
00002 #define MBED_LIST_H
00003  
00004 #include "mbed.h"
00005  
00006 class List {
00007 public:
00008 List(int int_cap);
00009 void add(float f);
00010 float average();
00011 float max();
00012 float min();
00013 
00014 
00015 
00016 private:
00017     int capacity;
00018     int size;
00019     float* array;
00020 };
00021  
00022 #endif