↑ ↓ ← → 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++
↑ ↓ ← → 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