txt ke PDF CPP

using namespace Aspose::Words;

auto doc = MakeObject<Document>(u"Input.txt");
doc->Save(u"Output.pdf");
Wicked Willet