#include "oechem.h" using namespace OEChem; int main() { OEAtomBase *o, *h1, *h2; OEBondBase *b1, *b2; OEMol mol; o = mol.NewAtom(OEElemNo::O); h1 = mol.NewAtom(OEElemNo::H); h2 = mol.NewAtom(OEElemNo::H); b1 = mol.NewBond(o,h1,1); b2 = mol.NewBond(o,h2,1); return 0; }