Error in IDE for keywords "scanf" and "EOF"

the keywords “scanf” and “EOF” are showing error in my CodeBlocks IDE(C++) but they are working in the video “CPP-Reading Till End of File”

Hey, save the code and share that link of ide, so that we can help you to rectify the exact error.