Books teaches the essential before telling you how to make a printf or a cout... they teach data types.. they explain why int or why short int... or why long..
Good books normally explain what is actually happening... and youtube.. does not do that..