www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - just getting started

↑ ↓ ← "Antwan Williams" <antwan799 attbi.com> writes:
Here is the code I wrote:
/* first.c: A First Program */

#include <stdio.h>

 int main() {
  puts("** Welcome to Thinking in C **");
  puts("(You'll be glad you came!)");
  return 0;
 }

I went to compile this code using the digital mars c compiler by typing this
command in the dos command prompt:
\dm\bin\dmc first

And the error I got was:
Fatal error: unable to open input file 'first'
-------errorlevel 1

Can anyone help me out please????
Jan 27 2003
↑ ↓ Christof Meerwald <cmeerw web.de> writes:
On Tue, 28 Jan 2003 00:58:21 -0600, Antwan Williams wrote:
 Here is the code I wrote:
 /* first.c: A First Program */

 I went to compile this code using the digital mars c compiler by typing this
 command in the dos command prompt:
 \dm\bin\dmc first

try: \dm\bin\dmc first.c bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Jan 28 2003
↑ ↓ → "Antwan Williams" <antwan799 attbi.com> writes:
Thanks Chris, but I figured it out.  My Path wasn't set properly.

"Christof Meerwald" <cmeerw web.de> wrote in message
news:b15iqa$919$1 digitaldaemon.com...
 On Tue, 28 Jan 2003 00:58:21 -0600, Antwan Williams wrote:
 Here is the code I wrote:
 /* first.c: A First Program */

 I went to compile this code using the digital mars c compiler by typing


 command in the dos command prompt:
 \dm\bin\dmc first

try: \dm\bin\dmc first.c bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?

Jan 28 2003