Compile A Contract That Calls A Second Contract

I have two contracts, one implements another. When I save them both in the same .sol file and try and compile I get "solc error: exit status 1". How do I compile these so I can call the functions?

contract ContractA {
ContractB contractB;
function createContractB() {
contractB = new ContractB();

contract ContractB {



Sign In or Register to comment.