mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-22 23:01:41 +03:00
Updates
This commit is contained in:
parent
b34908e050
commit
2e805c8c02
@ -333,4 +333,6 @@ int area(rect r){
|
||||
|
||||
Best to find yourself a copy of [K&R, aka "The C Programming Language"](https://en.wikipedia.org/wiki/The_C_Programming_Language)
|
||||
|
||||
Another good resource is [Learn C the hard way](http://c.learncodethehardway.org/book/)
|
||||
|
||||
Other than that, Google is your friend.
|
||||
|
@ -395,7 +395,7 @@ print j.say("hello") #prints out "Joel: hello"
|
||||
i.get_species() #=> "H. sapiens"
|
||||
|
||||
# Change the shared attribute
|
||||
i.species = "H. neanderthalensis"
|
||||
Human.species = "H. neanderthalensis"
|
||||
i.get_species() #=> "H. neanderthalensis"
|
||||
j.get_species() #=> "H. neanderthalensis"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user