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++ - Help ! please with wain

↑ ↓ ← Travis Wertz <Travis_member pathlink.com> writes:
I am new to all languages and I'm going to start with wain so if bertel will

help LoCkDoWn Vetern newb to C++
Nov 02 2005
↑ ↓ → Bertel Brander <bertel post4.tele.dk> writes:
Travis Wertz wrote:
I am new to all languages and I'm going to start with wain so if bertel will

be able to help me I have no idea were to start on which slide or what so please help

I'm not sure that this is the right place for discussion of Wain, you might send me an email, the address i valid. If you are programming in C++ and using Digital Mars you can: 1: Download and install Wain. 2: Create a new file, type in (or copy&paste): #include <iostream> int main() { std::cout << "Hello World!" << std::endl; } 3: Save it as hello.cpp 4: You have to adjust the path to dmc.exe: Menu->Tools->Setup, select DigitalMarsCompiler. Fill in the program box, e.g. c:\mars\dmc.exe, hit Apply and OK. 5: Hit Shift+F11 to compile. 6: After a short while a window at the button of the Wain window should displaying the output from the compiler. 7: If every thing succeeds, hit Alt+Y to open a DOS-box in the same folder as hello.cpp 8: Type hello<enter> in the box, your program will now be run and it should now type: Hello World! Now you have written, compiled and run your first C++ program, and are ready to study a book or follow one of the tutorials mentioned on my homepage. -- Absolutely not the best homepage on the net: http://home20.inet.tele.dk/midgaard But it's mine - Bertel
Nov 02 2005