HelloDotnetWorld


cat hello.cpp
// hello.cpp
//
//
//
#using <mscorlib.dll>
using namespace System;
void main(){
        Console::WriteLine("Hello Managed");
}

cat makefile
TARGET=hello
PHONY=all test mmm clean

all: $(TARGET).exe

$(TARGET).exe: $(TARGET).cpp
        cl /clr $<

test:
        ./$(TARGET).exe

clean:
        -rm $(TARGET).exe *.o *~

mmm:
        cat $(TARGET).cpp
        @echo
        cat makefile

html:
        cat /dev/clipboard | code2html.exe | unix2dos