c++ - Help ! please with wain
- Travis Wertz (3/4) Nov 02 2005 be able to help me I have no idea were to start on which slide or what s...
- Bertel Brander (31/35) Nov 02 2005 I'm not sure that this is the right place for discussion of Wain,
I am new to all languages and I'm going to start with wain so if bertel willbe able to help me I have no idea were to start on which slide or what so please help LoCkDoWn Vetern newb to C++
Nov 02 2005
Travis Wertz wrote: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 - BertelI am new to all languages and I'm going to start with wain so if bertel willbe able to help me I have no idea were to start on which slide or what so please help
Nov 02 2005