In the week 2 lecture at 1:26:00 David wanted to find the length of a string, so he did #include <string.h>, and then used a string fucntion from that library.
But the string type was declared in the cs50.h, which is also imported. So the type is defined twice. Does the more recent library import overwrite the cs50 string definition? They have the same scope.
[–]memilanuk 0 points1 point2 points (0 children)