Compile main and class source.

Jaehunt jaeyoep at gmail.com
Fri Jul 5 13:22:07 PDT 2013


How to import classABC? Here is my main.d

import std.stdio, std.conv, std.exception, std.math, std.random;

void main() {
		
	ABC a = new ABC( a, b, c, d);
	ABC b = new ABC( e, f, g, h);
	
	ABC sum = a.sum( b);
		
	writeln( a);
	writeln( b);
	writeln( sum);
	
	}
	
}


More information about the Digitalmars-d-learn mailing list