as the title describes, i would like to know the name of the compiler used in the tutorial, the one im using (DevC++) doesnt seem to recognize "if"... so if i could either get the name of the compiler or help with mine, that'd be great, thanks in advance!
Dev C++ is not a C++ compiler. It is an IDE. An IDE is a set of tools that make it easier to do some tasks. Sometimes an IDE comes with a compiler. Sometimes it does not.
Dev C++ before version 5 is very bad and should not be used. If that is your version, please dispose of it now.
I don't think the tutorial on this website was written with any specific compiler in mind. There's a lot of hate (that's well justified, look here: http://www.cplusplus.com/articles/36vU7k9E/) on this website for the Dev-C++ IDE (which uses MinGW as a compiler), and I'd recommend against it. My compiler of choice is g++, and I recommend that you use it (particularly if you're on Linux). If you're running Windows, however, Visual C++ is probably the most popular compiler (that also comes with a fantastic IDE), and worth trying out.
As for your problem with Dev-C++ "not recognizing if," I don't really understand what your mean. If you're willing to post the specific code that's giving you an error, I'd be happy to try and diagnose the problem.