#include "oechem.h" #include using namespace OEChem; using namespace std; int main() { OEMol mol; if (OEParseSmiles(mol,"c1ccccc1")) { // Do something with the molecule! } else cerr << "SMILES string was invalid!" << endl; return 0; }