>>1487715>Simply including math fixed it. I dunno what a link is yet.When you #include a header file, it only contains function declarations for the library, basically just a listing of which functions the library contains. The actual function definitions (the code for the functions) are stored in precompiled object files. When you compile your program, the compiler has to connect your compiled code with the other library functions to make the final executable, and that process is linking. The important takeaway is that -lm tells the compiler "use the functions in the math library when compiling".
>The dude does not have math included in that part of the video .. what is going on?It's probably compiler dependent behavior, a lot of the standard library functions are commonly treated as builtins by compilers, and since you didn't include math.h, it defaults to using the builtin. You can see it in the compilation output, "warning: implicit declaration of function 'pow'"; usually it'd be an error.
>are things still changing in a language from the seventiesYep, C23 "should" come out this year.