When I try to compile it and run it in Dev C++ It immediatley closes after it opens. I have checked over and over. My coding is just like the tutorial.
Try your debugger and see which line it closes on. By the way, you aren't trying to use WinMain are you? Irrlicht projects compiled with Dev-cpp do not seem to run if WinMain is used.
If you got MSVC++, make use of the debugger when it crashes. It always runs when you got it installed and as long as you switch to windowed mode rather than full screen you will get the option to run the debugger when it crashes. It'll take it right to the line that is causing the problems. When you get used to it then it becomes invaluble, it saved many a screw up by me