Am I learning out-dated code?
I'm new to programming (About as new as you can get) and I found this website so I figured maybe I could finally learn something about coding.
I downloaded DevC++ compiler as the website instructed and suggested. I started my endeavors by trying to complete the tutorial steps off the web page and kept running into problems. I gave up after about an hour and my parents kicked me offline anyway. Since I had no internet I started messing around with my new compiler (DevC++) and I discovered that there were tutorials that were remarkably similar under the help tab in DevC++ itself. So I started following the tutorials that I found in the DevC++ help file.
Here is where the problem arises, after I started following the directions from the help file in DevC++ I had no problems when trying to compile and run my code. later I looked at the differences in the code from this website's tutorials and the tutorials I found in the help file. The largest notable differences in code were the use of
#<iostream> instead of #<stdio.h>
cout<< and cin>> instead of printf and scanf
I'm wondering why I'm learning something different from the tutorials included in the compiler than from those included on the website. I'd just like to know if there's any sort of problem with this and if so, how do I fix what I'm doing wrong. The compiler won't seem to run or compile the code off the website.
I hope I have been clear and to the point, if you can offer me any help it would be greatly appreciated.