T. Meissner
|
66a82e135b
|
Add first exercises of chapter 04
|
9 years ago |
T. Meissner
|
ce61e4b153
|
Initial commit of C primer plus examples
|
9 years ago |
T. Meissner
|
fd0290ca30
|
Fix hyperlinks to books
|
10 years ago |
T. Meissner
|
7db34e79ce
|
seperated tests target into seperate targets for running tests and coverage
|
10 years ago |
T. Meissner
|
e4882ad36a
|
removed parameter from LedDriver_Destroy() function
|
10 years ago |
T. Meissner
|
cc737e8225
|
seperated tests target into seperate targets for running tests and coverage
|
10 years ago |
T. Meissner
|
2d6db40d74
|
added some helper functions for out-of-bounds hecking & set/clear bits ledsImage;
added tests for new functionality
|
10 years ago |
T. Meissner
|
29000b12c7
|
adding more test case examples to test out-of-bound access and others;
using runtime error macro to signalize out-of-bound error
|
10 years ago |
T. Meissner
|
bd4fb69b58
|
adding macro & function for runtime error generation;
adding mock implementation of runtime error functions for tests
|
10 years ago |
T. Meissner
|
a3eb346cd7
|
added exampes for chapter 04
|
10 years ago |
T. Meissner
|
5dee497fe3
|
added example code of chapter 03
|
10 years ago |
T. Meissner
|
3c836ba7ea
|
removed redundant unity.h include
|
10 years ago |
T. Meissner
|
02a0f84012
|
added tdd for embedded c info
|
10 years ago |
T. Meissner
|
43186bddce
|
initial commit of chapter02 code
|
10 years ago |
T. Meissner
|
1ad6f920d0
|
added memory.h & memory.c with safeFree macro as safe wrapper around the free() function; use safeFree() instead of free()
|
10 years ago |
T. Meissner
|
45f57c91e1
|
added linker option for math library; added dict_use to all target
|
10 years ago |
T. Meissner
|
d6aba8cb68
|
return value of realloc now written in tmp variable for proper handling of realloc errors
|
10 years ago |
T. Meissner
|
290f6bbe4e
|
fixed memory leak by adding free of in->pair array in dictionary_free()
|
10 years ago |
T. Meissner
|
95af873851
|
add new example of a (simple & not so safe) dictionary implementation from chapter 11
|
10 years ago |
T. Meissner
|
32b0ddf6b6
|
add comment
|
10 years ago |
T. Meissner
|
523e4b2aec
|
added another example of extending a structure with nested anon. structs, nested in a anon. union for direct access of the nested struct
|
10 years ago |
T. Meissner
|
055bad853d
|
moved source files in sub dirs for chapters; split Makefile for chapter10 & chapter11 sources
|
10 years ago |
T. Meissner
|
91bdbb65e2
|
added example of extending a structure with nested naynonymous declarations
|
10 years ago |
T. Meissner
|
ead450fd8b
|
refactoring of this_row() funct. by using pointer to string literals
|
10 years ago |
T. Meissner
|
66e5b090c1
|
add removing of dSYM folder in clean target
|
10 years ago |
T. Meissner
|
f1af7fddc0
|
new target 'check' to run cppcheck on all *.c files
|
10 years ago |
T. Meissner
|
466ac5fbde
|
add new example for designated initializers (ch. 10)
|
10 years ago |
T. Meissner
|
3865f438d3
|
add Makefile
|
10 years ago |
T. Meissner
|
1cd4dcfbe7
|
add new example of simple 'function' overloading using C11 _Generic keyword
|
10 years ago |
T. Meissner
|
37c2df71dd
|
add check for return value of asprintf()
|
10 years ago |
T. Meissner
|
5d15239439
|
fixed order of includes; added _GNU_SOURCE define to succ. compile under Linux; through away return value of closedir()
|
10 years ago |
T. Meissner
|
215c899318
|
added 21st century c link
|
10 years ago |
T. Meissner
|
88ac01498d
|
initial commit of 21st century c book examples
|
10 years ago |
T. Meissner
|
2e19992f15
|
added case study of chapter 6
|
10 years ago |
T. Meissner
|
fcff21703f
|
Merge branch 'master' of https://www.github.com/tmeissner/learning-by-doing
|
10 years ago |
T. Meissner
|
b32f55befa
|
make files pep8 compliant
|
10 years ago |
T. Meissner
|
9d4d8c41f6
|
added new file with examples of extending built-in types like integer
|
10 years ago |
T. Meissner
|
61cf2c9b67
|
added new file with examples of using the set data type/object
|
10 years ago |
T. Meissner
|
e3cd75c638
|
added new file with examples of using the list data type/object
|
10 years ago |
T. Meissner
|
129ed90f27
|
completed dict examples by adding various methods for initialising, for example with defaultdict
|
10 years ago |
T. Meissner
|
53bce1fa4d
|
completed tupes examples by adding one for named tupes
|
10 years ago |
T. Meissner
|
9588711a2d
|
added first examples of chapter 06: tuples
|
10 years ago |
T. Meissner
|
cd9bc2dd75
|
added error handling for: invalid filename (empty string), file save error, delete error; back() & forward() now safe in range of 0 .. characters list length; some minor refactoring
|
10 years ago |
T. Meissner
|
75ae457119
|
make it pep8 compliant
|
10 years ago |
T. Meissner
|
4e387a3dc3
|
added new zipscale variant which uses composition instead of inhiterance
|
10 years ago |
T. Meissner
|
47dd9bf1cc
|
make it pep8 compliant
|
10 years ago |
T. Meissner
|
3a6d1e600d
|
added timeout after that the webpage still will be loaded
|
10 years ago |
T. Meissner
|
4a09212506
|
completed chapter 05 case study
|
10 years ago |
T. Meissner
|
12f8a5c2c9
|
making the source files pep8 comliant
|
10 years ago |
T. Meissner
|
0dbac08bd9
|
added case study of chapter 05
|
10 years ago |