example using the course class

Dependencies:   4DGL-uLCD-SE Course mbed SDFileSystem

Revision:
1:f603609389d5
Parent:
0:6ced83c58574
Child:
2:84925a4bf964
--- a/main.cpp	Mon Dec 05 00:37:41 2016 +0000
+++ b/main.cpp	Mon Dec 05 01:01:16 2016 +0000
@@ -17,21 +17,11 @@
     
     int test = 0;
     
-    test = addCourseToVector(courseVec, course1);
-    if (test == 0)
-        uLCD.printf("good");
-    test = addCourseToVector(courseVec, course2);
-    if (test == 0)
-        uLCD.printf("good");
-    test = addCourseToVector(courseVec, course3);
-    if (test == 0)
-        uLCD.printf("good");
-    test = addCourseToVector(courseVec, course4);
-    if (test == 0)
-        uLCD.printf("good");
-    test = addCourseToVector(courseVec, course5);
-    if (test == 0)
-        uLCD.printf("good");
+    addCourseToVector(courseVec, course1);
+    addCourseToVector(courseVec, course2);
+    addCourseToVector(courseVec, course3);
+    addCourseToVector(courseVec, course4);
+    addCourseToVector(courseVec, course5);
     
     uLCD.cls();
     uLCD.locate(0, 1);