Done using astyle: astyle --style=kr --add-brackets --indent=spaces=4 --indent-col1-comments --unpad-paren --pad-header --align-pointer=type --lineend=linux
16 lines
179 B
C++
16 lines
179 B
C++
#include <cantera/Cantera.h>
|
|
|
|
void demoprog()
|
|
{
|
|
// Calls Cantera
|
|
}
|
|
|
|
int main()
|
|
{
|
|
try {
|
|
demoprog();
|
|
} catch (CanteraError) {
|
|
showErrors(cout);
|
|
}
|
|
}
|
|
|