   Dev-C++ 5
  i downloaded Dev-C++ 5, i think its a new beta but anyway, i was trying to some tutorials from this page: http://newdata.box.sk/bx/c/htm/ch01.htmBut ive ran into problems, in the first exercices, why doesnt this run in this compiler: #include <iostream.h>int main() {   cout << "Hello World!\n";   return 0; } Neither this: #include <iostream.h>int main(){int x = 5;int y = 7;cout "\n";cout << x + y << " " << x * y;cout "\n";return 0; }what im trying to know is that if this particular tutorial, has anything wrong or different that wont let me use Dev-C++ 5 or am i doing something wrong, please check the web page and tell me please......i really want to start learning c++, also if you could point me to some tutorials that will work in this compiler i would be gratefull thanks!!! 
  If you compiler is ANSI/ISO compliant to the new standard you have to include the following line of code right under your #include of iostream.husing namespace std;  you also might have to #include just iostream and not iostream.hDan... ;  I''ve found that with this software you have to use this at the beginning of every program.#include <iostream>#include <stdlib.h>using namespace std;int main (){ etc.before you close out your program and before return 0; write this.system ("PAUSE") after this write return 0; and you should be set.hope this helps ;  Do not use <iostream.h>! It is non-standard. Use <iostream> (no ".h" extension) instead.Do not simply insert using namespace std; at the top of your code. Understand what it does and why you''d want to put it there (the web is littered with documents that explain the concept behind it).Do not get into the habit of using the system call in your programs. Dev-C++ launches a console that terminates immediately your application does. Launch your Dev-C++-compiled applications from the command line manually.Do not use old-style C headers in C++ programs. The standard places all such constructs within the std namespace, too; replace <stdlib.h> with <cstdlib>, <string.h> with <cstring> (not the same as <string>!) and so on. ;  wow thats to much info at once jeje, so basicly theres no problem with Dev-C++ 5 is it good to learn with it? yesterday was the first day i spent trying to start programming, im still processing all the new information in my brain, i spent like 6 hours yesterday reading tips, and some tutorials, and getting the hang of the interface of this compiler, etc, ive even modified the hello world code..........(great thing).......jeje, but in the tutorial i mention before, it gave e problems, so i wanted to know about one, wich wont cause me trouble.............so i can start programming and understanding better c++ ;  My advice to you would be to find some tutorials that are up to date.  The ones that you are probably looking at don''t follow the newest edition of the ANSI/ISO standard; but your compiler does.  In short, you would like to do a tutorial that will work on your compiler w/o you having to worry about it not being written to the same standard.  Try picking up a new book on it instead of using internet tutorials, which in my experience are usually out of date.  The book that I am reading right now is pretty good (Sam''s C++ Primer Plus Fourth Edition), but you can search this site for a listing of some good books to get you started...Dan... ;quote:Do not get into the habit of using the system call in your programsWhy?Dev C++ 5 (actually 4.9.8.9) isnt exaclty ready yet they want you to report bugs and make it better for everyone else. I was going to tell you about the namespace thing but the mod said it already. (In case you dont know yet std::cout is ok) ;  so i guess this is my last question of this thread, does anyone know any free tutorials that are up to today standards?? if not, i guess ill have to buy some books, but i prefer not right now, anyway thanks for the help all of you, forums are a blessing, really, they are todays universities, jeje, thaks ; up to date tutorial ;quote:Original post by try_catch_this  quote:Do not get into the habit of using the system call in your programsWhy? Using cin.get() produces the same effect.