Argument processing for cpp