c++.chat - Advice needed
- Adam (2/2) Jul 08 2005 How do I compile a program once I write it?
- Walter (4/5) Jul 08 2005 \dm\readme.html has explicit instructions. If they aren't working for yo...
- Adam (3/3) Jul 09 2005 I understand that the compiler is in \dm\bin\dmc and that you can type y...
- Walter (5/7) Jul 09 2005 your
- adam (3/3) Jul 09 2005 All I know what to do so far is to type it. After that I can't figure it...
- Cesar Rabak (9/13) Jul 09 2005 Go in Start->Run
- Adam (4/4) Jul 10 2005 When I go to type in dmc after C:\Documents and Settings\username>, it t...
- Cesar Rabak (9/14) Jul 10 2005 You should create a file called, say 'DM.BAT' or 'DM.CMD' with the
- Adam (4/4) Jul 11 2005 I get what your saying except I don't really understand what the extensi...
- Cesar Rabak (8/13) Jul 11 2005 From the command prompt:
- Adam (6/6) Jul 12 2005 I did what you said and made a batch file, but when I went to type it in...
- Cesar Rabak (2/9) Jul 12 2005 What part of 'open notepad' or 'text editor' did you not understand?
- Adam (2/2) Jul 12 2005 I don't understand what you mean!
- Cesar Rabak (4/6) Jul 12 2005 Adam,
- Walter (6/8) Jul 10 2005 out.
How do I compile a program once I write it? adam
Jul 08 2005
"Adam" <Adam_member pathlink.com> wrote in message news:dan82c$16cv$1 digitaldaemon.com...How do I compile a program once I write it?\dm\readme.html has explicit instructions. If they aren't working for you, please tell me where they went wrong so I can see about improving them.
Jul 08 2005
I understand that the compiler is in \dm\bin\dmc and that you can type your instructions in men.exe but how do you actually connect the two and compile it. Adam
Jul 09 2005
"Adam" <Adam_member pathlink.com> wrote in message news:daom1h$2e3i$1 digitaldaemon.com...I understand that the compiler is in \dm\bin\dmc and that you can typeyourinstructions in men.exe but how do you actually connect the two andcompile it. Have you successfully opened a command prompt window?
Jul 09 2005
All I know what to do so far is to type it. After that I can't figure it out. How do you open a command prompt window? adam
Jul 09 2005
adam escreveu:All I know what to do so far is to type it. After that I can't figure it out. How do you open a command prompt window? adamGo in Start->Run in the "Open:" field, type in "cmd" A command prompt should appear. Something like: C:\Document ad Settings\username> is the *prompt* type there: C:\Document ad Settings\username>dmc and report the results back.
Jul 09 2005
When I go to type in dmc after C:\Documents and Settings\username>, it tells me that it is not recognized as an internal or external command. What should I do now? Adam
Jul 10 2005
Adam escreveu:When I go to type in dmc after C:\Documents and Settings\username>, it tells me that it is not recognized as an internal or external command. What should I do now? AdamYou should create a file called, say 'DM.BAT' or 'DM.CMD' with the following contents: ------------------------------>8----- cut here start SET PATH=D:\DM\BIN;%PATH% ------------------------------8<----- cut here end Where the 'D:\DM\BIN' should match the place where your bin subdir in your installation is. This is what the line 41 of 'readme.txt' in the Digital Mars compiler installation says you to do.
Jul 10 2005
I get what your saying except I don't really understand what the extension .BAT or .CMD is or how to create it. Is what your saying pretty much just a shortcut that is placed in the location or is it something else? Adam
Jul 11 2005
Adam escreveu:I get what your saying except I don't really understand what the extension .BAT or .CMD is or how to create it. Is what your saying pretty much just a shortcut that is placed in the location or is it something else? AdamFrom the command prompt: Create a file with your text editor, say notepad, with the contents described and save it with the name DM.BAT, close the editor. On the command prompt, issue it: C:\>dm.bat then try again: C:\>dmc
Jul 11 2005
I did what you said and made a batch file, but when I went to type it in after C:\Documents and Settings\username>, I got a bunch of statements surrounded by { }'s, a statement saying that it could not find the path specified, and statement saying that '}' is not an operatble command. I tried to get around this but because I'm a newbie I can't figure out what to do. Adam
Jul 12 2005
Adam escreveu:I did what you said and made a batch file, but when I went to type it in after C:\Documents and Settings\username>, I got a bunch of statements surrounded by { }'s, a statement saying that it could not find the path specified, and statement saying that '}' is not an operatble command. I tried to get around this but because I'm a newbie I can't figure out what to do. AdamWhat part of 'open notepad' or 'text editor' did you not understand?
Jul 12 2005
Adam escreveu:I don't understand what you mean!Adam, Can you then understand the instructions given in the readme.txt file which should be in the DM folder of your installation?
Jul 12 2005
"adam" <adam_member pathlink.com> wrote in message news:dapo5g$asc$1 digitaldaemon.com...All I know what to do so far is to type it. After that I can't figure itout.How do you open a command prompt window?Most of the non-IDDE Digital Mars programs are console programs. A command prompt window can be created on XP by clicking on [Start][Command Prompt].
Jul 10 2005