diff --git a/chapter7_evaluation.html b/chapter7_evaluation.html index fd0b531..0fd2035 100644 --- a/chapter7_evaluation.html +++ b/chapter7_evaluation.html @@ -126,7 +126,7 @@

Evaluation


To detect the tag of a node, or to get a number from a node, we will need to make use of the tag and contents fields. These are string fields, so we are going to have to learn a couple of string functions first.

- +
atoiConverts a char* to a long.
atoiConverts a char* to an int.
strcmpTakes as input two char* and if they are equal it returns 0.
strstrTakes as input two char* and returns a pointer to the location of the second in the first, or 0 if the second is not a sub-string of the first.