After looking through various C and C++ codes I am kind of confused about the "two types" of C that I've encountered. In the class that I'm in right now, we are using the functions scanf and printf for input and output. However, some other C programmers on google or whatnot use cin and cout for input and output. Isn't it kind of redundant to have two different functions that do the same thing in one language?! I feel like I have to learn both of these "types" of C because I have no clue how the cin and cout keywords work, but know how printf and scanf work.
Is it necessary for me to learn cin and cout on top of printf and scanf? - because right now I feel like I'm only learning half of the language.
Thanks for the help!