It work good now. If it is of any help for someone:
*-
string inputfilename="molfiles/*.mol";
vector inputfiles;
DLHandler::findFiles(inputfiles,inputfilename);
string filename="test.sdf";
vector outputfiles;
outputfiles.push_back(filename);
OBConversion conv;
conv.SetInAndOutFormats("
Thank you Chris for your answer. It is clear now.
Marianne
--
View this message in context:
http://forums.openbabel.org/Multiple-input-files-and-API-tp3634074p3637974.html
Sent from the openbabel-devel mailing list archive at Nabble.com.
On 30/06/2011 12:55, Marianne wrote:
> Ok, now I can use different input files with FullConvert. The code look like
> that if it is of any help for someone:
>
> *-
> string filename ="molfiles/1.mol";
> vector inputfiles;
> inputfiles.push_back(filename);
>
Ok, now I can use different input files with FullConvert. The code look like
that if it is of any help for someone:
*-
string filename ="molfiles/1.mol";
vector inputfiles;
inputfiles.push_back(filename);
filename ="molfiles/2.mol";
inputfil
Hello
I am new to using the openbabel API and really exciting to use OB. I have an
> existing C++ program in MSVC2008. I really like a lot and enjoy compute
with this great API. But I have a look like small problem actually:
I try to convert automatically different molfiles to fs file, and need