I would like to know if there is any way to pass an image (jpeg, png, etc) to pdf with the acrobat sdk library from c ++
Yes, the Acrobat SDK includes the AVConversion APIs that can do this.
Is there an example where I can see how it is done?
Yes, in the SDK Samples. You did download the SDK, including the documentation and samples, yes?