Can't figure out how to use the compiler

2014-04-21 Thread Plorf via Digitalmars-d
I downloaded the DMD Windows compiler, installed it in the default directory, added its location to the system path, restarted my computer and wrote a sample hello, world program, and it won't compile; instead it says Error: cannot read file hello.d. My computer is 64-bit, if that matters at

Re: Can't figure out how to use the compiler

2014-04-21 Thread Aleksandar Ruzicic via Digitalmars-d
On Monday, 21 April 2014 at 19:40:01 UTC, Plorf wrote: I downloaded the DMD Windows compiler, installed it in the default directory, added its location to the system path, restarted my computer and wrote a sample hello, world program, and it won't compile; instead it says Error: cannot read

Re: Can't figure out how to use the compiler

2014-04-21 Thread Plorf via Digitalmars-d
Are you in the same directory as your hello.d? It seems like you're not giving the compiler correct path to your file. My file was located on my desktop, and my current directory was the desktop, but dmd hello.d gave me an error. Is that what you mean?

Re: Can't figure out how to use the compiler

2014-04-21 Thread anonymous via Digitalmars-d
On Monday, 21 April 2014 at 19:40:01 UTC, Plorf wrote: I downloaded the DMD Windows compiler, installed it in the default directory, added its location to the system path, restarted my computer and wrote a sample hello, world program, and it won't compile; instead it says Error: cannot read

Re: Can't figure out how to use the compiler

2014-04-21 Thread Plorf via Digitalmars-d
On Monday, 21 April 2014 at 21:49:39 UTC, anonymous wrote: On Monday, 21 April 2014 at 19:40:01 UTC, Plorf wrote: I downloaded the DMD Windows compiler, installed it in the default directory, added its location to the system path, restarted my computer and wrote a sample hello, world program,

Re: Can't figure out how to use the compiler

2014-04-21 Thread Plorf via Digitalmars-d
Sorry about that last comment. Apparently I installed it correctly and everything, it's just that Notepad++ saves files as .txt unless you surround the file name and extension in quotes, like so: hello.d Thanks a lot for the help.