Team repo
Embed:
(wiki syntax)
Show/hide line numbers
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
Generated on Sat Jul 16 2022 15:10:49 by
1.7.2