# Merge PPS Files in C++

> Merge PPS files in C++. Use Aspose.Slides for C++ to clone slides from one PowerPoint slide show into another and save the merged result.

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



## Merge PPS Files Using C++

To merge `PPS` files, use [Aspose.Slides for C++](/slides/cpp/), a C++ API for working with presentation files. Install the latest package from [NuGet](https://www.nuget.org/packages/Aspose.Slides.Cpp/) or use the Package Manager Console command below.

### Command

```powershell
PM> Install-Package Aspose.Slides.Cpp
```

## Steps for Merging PPS Files in C++

Merge `PPS` files with [Aspose.Slides for C++](/slides/cpp/) by cloning slides from one presentation into another.

Load the destination and source `PPS` files with the `Presentation` class.

Iterate through the source slides with `get_Slides`.

Add each slide to the destination presentation with `AddClone`.

Save the merged file with `SaveFormat::Pps`.

## System Requirements

 Aspose.Slides for C++ is supported on all major platforms and operating systems. Please make sure that you have the following prerequisites.

-  Microsoft Windows, Linux, macOS, or another compatible OS with the supported C++ runtime.
-  Aspose.Slides for C++ library referenced in your project.

### Merge PPS Files - C++

```cpp
auto destinationPresentation = MakeObject<Presentation>(u"first.pps");
auto sourcePresentation = MakeObject<Presentation>(u"second.pps");

for (auto&& slide : sourcePresentation->get_Slides())
{
    destinationPresentation->get_Slides()->AddClone(slide);
}

destinationPresentation->Save(u"merged.pps", SaveFormat::Pps);
sourcePresentation->Dispose();
destinationPresentation->Dispose();
```

## About Aspose.Slides for C++ API

 The Aspose.Slides API can read, write, manipulate, and convert Microsoft PowerPoint presentations to PDF, XPS, HTML, TIFF, ODP, and other supported formats. You can create presentations from scratch and save them in a supported output format. Aspose.Slides is a standalone API for creating, parsing, and manipulating presentations, slides, and their elements; it does not require Microsoft PowerPoint or OpenOffice.

PPS (PowerPoint Slide Show) is the binary slide show format used by PowerPoint 97–2003. PPSX is the newer slide show format based on the Office Open XML standard. Current versions of PowerPoint can open PPS files and can still save presentations in PPS format. When opened normally, a PPS file starts in slide show mode, whereas a PPT file opens in editing mode.

## Other Supported Merging Formats

- [ODP](/slides/cpp/merger/odp/) — OpenDocument presentation
- [OTP](/slides/cpp/merger/otp/) — OpenDocument presentation template
- [POT](/slides/cpp/merger/pot/) — PowerPoint template
- [POTM](/slides/cpp/merger/potm/) — Macro-enabled PowerPoint template
- [POTX](/slides/cpp/merger/potx/) — PowerPoint Open XML template
- [PPSM](/slides/cpp/merger/ppsm/) — Macro-enabled PowerPoint slide show
- [PPSX](/slides/cpp/merger/ppsx/) — PowerPoint Open XML slide show
- [PPT](/slides/cpp/merger/ppt/) — PowerPoint presentation
- [PPTM](/slides/cpp/merger/pptm/) — Macro-enabled PowerPoint presentation
- [PPTX](/slides/cpp/merger/pptx/) — PowerPoint Open XML presentation
