www.digitalmars.com         C & C++   DMDScript  

c++ - I can't work out how to compile in windows 98

reply c++retard <c++retard_member pathlink.com> writes:
er, I need a simple step-by-step guide to how I can compile c++ with windows 98.
Use the example code:

#include <stdio.h>

void main()
{
printf("hello world!\n");
}

I don't know what to do. heh
help :p
Sep 16 2003
parent "Walter" <walter digitalmars.com> writes:
"c++retard" <c++retard_member pathlink.com> wrote in message
news:bk7ibb$lha$1 digitaldaemon.com...
 er, I need a simple step-by-step guide to how I can compile c++ with

 Use the example code:

 #include <stdio.h>

 void main()
 {
 printf("hello world!\n");
 }

 I don't know what to do. heh
 help :p

Write the sample code to a file named test.cpp. Change directory so test.cpp is in the default directory. Type the command: \dm\bin\dmc test to compile and link it. Type: test to run the resulting test.exe.
Sep 17 2003