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++ - how to compile

↑ ↓ ← zack <zack_member pathlink.com> writes:
Could i get step by step instructions on how to use dmc to compile my c file?
Thanks, this is my first time.
Jul 03 2004
↑ ↓ "Walter" <newshound digitalmars.com> writes:
"zack" <zack_member pathlink.com> wrote in message
news:cc7gqg$202f$1 digitaldaemon.com...
 Could i get step by step instructions on how to use dmc to compile my c

 Thanks, this is my first time.

Open a command prompt window. Use the command: dmc filename.c will compile your C file and create filename.exe.
Jul 03 2004
→ zack <zack_member pathlink.com> writes:
In article <cc7n0v$2894$1 digitaldaemon.com>, Walter says...
"zack" <zack_member pathlink.com> wrote in message
news:cc7gqg$202f$1 digitaldaemon.com...
 Could i get step by step instructions on how to use dmc to compile my c

 Thanks, this is my first time.

Open a command prompt window. Use the command: dmc filename.c will compile your C file and create filename.exe.

I typed in dmc hello.c but it says bad command or filename. Does the file have to be in a certain directory?
Jul 03 2004
→ Zack <Zack_member pathlink.com> writes:
In article <cc7n0v$2894$1 digitaldaemon.com>, Walter says...
"zack" <zack_member pathlink.com> wrote in message
news:cc7gqg$202f$1 digitaldaemon.com...
 Could i get step by step instructions on how to use dmc to compile my c

 Thanks, this is my first time.

Open a command prompt window. Use the command: dmc filename.c will compile your C file and create filename.exe.

Okay, I typed \dm\bin\dmc hello.c And now it says "Fatal Error: unable to open input file 'hello.c' ---error level 1" Heres the file: #include <stdio.h> void main() { printf("hello world!\n"); }
Jul 03 2004
→ Zack <Zack_member pathlink.com> writes:
In article <cc7n0v$2894$1 digitaldaemon.com>, Walter says...
"zack" <zack_member pathlink.com> wrote in message
news:cc7gqg$202f$1 digitaldaemon.com...
 Could i get step by step instructions on how to use dmc to compile my c

 Thanks, this is my first time.

Open a command prompt window. Use the command: dmc filename.c will compile your C file and create filename.exe.

Never mind guys! I got it, Thanks!!!!!
Jul 03 2004