Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 28, 2003 How do i use a compiler? | ||||
---|---|---|---|---|
| ||||
I'm new to c++ and downloaded 2 compilers but dont know how to use them. can anybody help? |
August 28, 2003 Re: How do i use a compiler? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Luc | "Luc" <Luc_member@pathlink.com> wrote in message news:bil36a$130g$1@digitaldaemon.com... | I'm new to c++ and downloaded 2 compilers but dont know how to use them. can | anybody help? Is Digital Mars one of those compilers (this is a digital mars newsgroup). Unzip the download to C:\. Then, add "c:\dm\bin" to your path: On XP/NT: Right click my computer, click properties, click the advanced tab, click Environment Variables, then on bottom strings list find "Path" and click it then Edit. Add this to the beginning: "C:\dm\bin"; You will also need to modify sc.ini (in c:\dm\bin) to include STLport for std C++ support. Open the file in notepad and change the line INCLUDE to this: INCLUDE=""%@P%\..\stlport\stlport";"%@P%\..\include";"%@P%\.. |
August 28, 2003 Re: How do i use a compiler? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greg Peet | I forgot to mention that once you get that all set up, post back again and we can discuss using dmc.exe to compile your program. It's basically, dmc sourcefilename.cpp then you run your program: sourcefiename (don't type .exe after it) |
September 15, 2003 Re: How do i use a compiler? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greg Peet | I think I did everything you said. I'm not the person you first talked to but I tried this too and would like to try to make a program, however, I would like to start off with a more simple c program instead of c++. |
Copyright © 1999-2021 by the D Language Foundation