Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: linearArray.h
- Revision:
- 1:49758f1e1317
- Parent:
- 0:23c500341c13
- Child:
- 2:92576523c23e
--- a/linearArray.h Tue Oct 04 13:15:54 2016 +0000
+++ b/linearArray.h Tue Oct 04 13:38:07 2016 +0000
@@ -11,6 +11,7 @@
int add(type item);
void remove(int index);
int size();
+ int elements();
bool hasSpace();
type& operator[](int index);
private:
@@ -18,4 +19,6 @@
int elem_count;
};
+#include "linearArray.hpp"
+
#endif /* LINEAR_ARRAY_H */
\ No newline at end of file