dt_Handle reaction;
dt_String csmi, asmi;
dt_Integer clen, alen;
reaction = dt_smilin(13, "O>>[OH-].[H+]");
csmi = dt_cansmiles(&clen, reaction, 0);
asmi = dt_arbsmiles(&alen, reaction, 0);
printf("Canonical form is %.*s and arbitrary form is %.*s.\n",
clen, csmi, alen, asmi);
Canonical form is O>>[H+].[OH-] and arbitrary form is O>>[OH-].[H+].
|