# PPT Dosyalarını C++ ile Birleştirme

> Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment'da PPT belgelerini birleştirmek için C++ örnek kodu.

Source: https://products.aspose.com/slides/tr/cpp/merger/ppt/
Updated: 2026-08-11



## C++ Kullanarak PPT Dosyasını Birleştirme

 PPT dosyasını birleştirmek için kullanacağız
 [Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/)
 C++ platformu için zengin özelliklere sahip, güçlü ve kullanımı kolay bir belge birleştirme API'si olan API. En son sürümünü doğrudan indirebilirsiniz, sadece açın
 [NuGet](https://www.nuget.org/packages/aspose.slides)
 paket yöneticisi, ara
 **Aspose.Slides.Cpp**
 ve yükleyin. Paket Yöneticisi Konsolundan aşağıdaki komutu da kullanabilirsiniz.

### Emretmek

```cs

PM> Install-Package Aspose.Slides.Cpp

```

## C++'da PPT Dosyalarını Birleştirme Adımları

[Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/) API'lerini birleştiren ve birleştiren temel bir belge, yalnızca birkaç satır kodla yapılabilir.

Her iki PPT dosyasını da yükleyin.

Her slaytta yineleme yapmak için get\_Slides() yöntemini kullanın.

İstediğiniz dosyayla birleştirmek için AddClone işlevini kullanın.

Belirtilen yola kaydetmek için Save() yöntemini kullanın

## sistem gereksinimleri

 Aspose.Slides for C++ tüm büyük platformlarda ve İşletim Sistemlerinde destekler. Lütfen aşağıdaki ön koşullara sahip olduğunuzdan emin olun.

- Microsoft Windows veya Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment ile uyumlu bir işletim sistemi.
- Projenizde referans verilen C++ DLL için Aspose.Slides.

### PPT Dosyalarını Birleştirme - C++

```cs
// The path to the documents directory.
const String sourceFilePath1 = u"SourceFile2.ppt";
const String sourceFilePath2 = u"SourceFile3.ppt";
const String outputFilePath = u"mergedOutput.ppt";

// Instantiate Presentation class
SharedPtr<Presentation> presentation1 = MakeObject<Presentation>(sourceFilePath1);
SharedPtr<Presentation> presentation2 = MakeObject<Presentation>(sourceFilePath2);

for (SharedPtr<ISlide> slide : presentation2->get_Slides()){
	// Merge from source to destination
	presentation1->get_Slides()->AddClone(slide);
}

// Save the presentation
presentation1->Save(outputFilePath, SaveFormat::Ppt);

```

## Aspose.Slides for C++ API Hakkında

 Aspose.Slides API, Microsoft PowerPoint belgelerini okumak, yazmak, değiştirmek ve PDF, XPS, HTML, TIFF, ODP ve diğer çeşitli formatlara dönüştürmek için kullanılabilir. Sıfırdan yeni dosyalar oluşturabilir ve bunları ilgili desteklenen biçimlerde kaydedebilirsiniz. Aspose.Slides, sunumlar, slaytlar ve öğeler oluşturmak, ayrıştırmak veya değiştirmek için bağımsız bir API'dir ve Microsoft veya OpenOffice gibi herhangi bir yazılıma bağlı değildir.

A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text, bulleted points, images, multimedia and other embedded OLE objects. Microsoft came up with newer file format for PowerPoint, known as PPTX, from 2007 onwards that is based on Office OpenXML and is different from this binary file format. Several other application programs such as OpenOffice Impress and Apple Keynote can also create PPT files.

## Desteklenen Diğer Birleştirme Formatları

- [ODP](https://products.aspose.com/slides/tr/cpp/merger/odp/) — OpenDocument Sunum Formatı
- [OTP](https://products.aspose.com/slides/tr/cpp/merger/otp/) — OpenDocument Standart Biçimi
- [POT](https://products.aspose.com/slides/tr/cpp/merger/pot/) — Microsoft PowerPoint Şablon Dosyaları
- [POTM](https://products.aspose.com/slides/tr/cpp/merger/potm/) — Microsoft PowerPoint Şablon Dosyası
- [POTX](https://products.aspose.com/slides/tr/cpp/merger/potx/) — Microsoft PowerPoint Şablonu Sunumu
- [PPS](https://products.aspose.com/slides/tr/cpp/merger/pps/) — PowerPoint Slayt Gösterisi
- [PPSM](https://products.aspose.com/slides/tr/cpp/merger/ppsm/) — Makro Etkin Slayt Gösterisi
- [PPSX](https://products.aspose.com/slides/tr/cpp/merger/ppsx/) — PowerPoint Slayt Gösterisi
- [PPTM](https://products.aspose.com/slides/tr/cpp/merger/pptm/) — Makro Etkin Sunum Dosyası
- [PPTX](https://products.aspose.com/slides/tr/cpp/merger/pptx/) — Açık XML sunum Formatı
