// the main program just calls function simple_demo within // a 'try' block, and catches CanteraError exceptions that // might be thrown int main() { try { simple_demo(); } catch (CanteraError) { showErrors(); } }
int main() { if(compress_decompress_demo() != 0) return -1; if(varying_bit_width_demo() != 0) return -1; simple_demo(); return 0; }