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
T. Meissner
5e866e5a68
renamed class ZipReplace into ZipReplaceInh
10 years ago
T. Meissner
4597685ec8
added zipreplace_comp.py as composition example
10 years ago
T. Meissner
cc9fffdc82
added class ZipProcessorComp for composition example
10 years ago
T. Meissner
c25b1b4991
added zipscale module which inhiterances from zipprocessor module
10 years ago
T. Meissner
4f677a4978
added zip files to gitignore list
10 years ago
T. Meissner
427eac2f82
example for useful use of property function
10 years ago
T. Meissner
b0a6f0240f
refactoring of zipsearch.py by using inhiterance
10 years ago
T. Meissner
7e5496029d
example for managing objects which replaces given strings in zipped files
10 years ago
T. Meissner
0a3d7b8cd5
more examples of chapter 05
10 years ago
T. Meissner
78e27a0633
added Editor class
10 years ago
T. Meissner
2daf82f8d5
added example of function vs. oop
10 years ago
T. Meissner
bc87e3e041
editor module to use & test auth module
10 years ago
T. Meissner
687b2a8f25
added case study of chapter 4: auth module
10 years ago
T. Meissner
db8f802191
Further integration of classes
Following classes were added: Purchase, Rental, HouseRental, HousePurchase,
ApartmentRental, ApartmentPurchase, Agent
Furthermore printing an empty newline was added at the end of display() methods
in each class where the method exists
10 years ago
T. Meissner
68d6b0a424
added newline between docstring and quak method() of class Frog
10 years ago
T. Meissner
1fea3a6738
added class House which inherits from class Property
10 years ago
T. Meissner
d21b24d951
initial commit of chapter 3 case study
10 years ago
T. Meissner
dca775717e
added wikipedia example for duck typing with python
10 years ago
T. Meissner
8671e2e9dd
added FlacFile class as example for duck typing instead of polymorpism using inhiterance
10 years ago
T. Meissner
f7d909bc6c
new code example audiofile.py showing inhiterance with polymorphism
10 years ago
T. Meissner
14772e3f2d
changed (internal) _remove_note() method to (not internal) method remove_note()
10 years ago
T. Meissner
df2b2469e1
added internal method _remove_note() to remove note with given id from note list
10 years ago