Eduard Sjoukes
/
DatatypesLength
Showing the length of mbed datatypes in bytes.
Revision 1:275d27c2d033, committed 2010-12-05
- Comitter:
- Eduard
- Date:
- Sun Dec 05 12:14:51 2010 +0000
- Parent:
- 0:124a3cf10d74
- Commit message:
- Also the \" bool\" type included now
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Nov 29 23:14:17 2010 +0000 +++ b/main.cpp Sun Dec 05 12:14:51 2010 +0000 @@ -31,6 +31,7 @@ lcd.printf("sizeof(float) == %d\n", sizeof(float)); lcd.printf("sizeof(double) == %d\n", sizeof(double)); + lcd.printf("sizeof(bool) == %d\n", sizeof(bool)); WaitRefres(); lcd.printf("sizeof(long double)\n == %d\n", sizeof(long double));