hi im new to c++ amd im having some problems.
I have got the dev C++ compiler.
The problem is that i do what the tutorial says in the help menu,
#include <stdin.h>
main()
{
printf("Hello World\n");
}
but when i go and compile it and run it tells me to save which i do what the help says by saving it as 'hello.c' then a box appears then disappears really fast.then nothing happens. but at the bottom when it has all them things like:
compiler,resources and compile log ect. it says that 'stdin.h' is not a directoriy.
i also found out that you can use 'iostream' to go there but it also says there is no such file or directory.
so please can someone help me start off i am so keen nto learn the language i have just finished 'html' and i want to learn this next.
thanks for any help i get marshall
I have got the dev C++ compiler.
The problem is that i do what the tutorial says in the help menu,
#include <stdin.h>
main()
{
printf("Hello World\n");
}
but when i go and compile it and run it tells me to save which i do what the help says by saving it as 'hello.c' then a box appears then disappears really fast.then nothing happens. but at the bottom when it has all them things like:
compiler,resources and compile log ect. it says that 'stdin.h' is not a directoriy.
i also found out that you can use 'iostream' to go there but it also says there is no such file or directory.
so please can someone help me start off i am so keen nto learn the language i have just finished 'html' and i want to learn this next.
thanks for any help i get marshall