CodePorting.Translator.Cs2Cpp.Framework 24.12.0

dotnet add package CodePorting.Translator.Cs2Cpp.Framework --version 24.12.0                
NuGet\Install-Package CodePorting.Translator.Cs2Cpp.Framework -Version 24.12.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodePorting.Translator.Cs2Cpp.Framework" Version="24.12.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodePorting.Translator.Cs2Cpp.Framework --version 24.12.0                
#r "nuget: CodePorting.Translator.Cs2Cpp.Framework, 24.12.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CodePorting.Translator.Cs2Cpp.Framework as a Cake Addin
#addin nuget:?package=CodePorting.Translator.Cs2Cpp.Framework&version=24.12.0

// Install CodePorting.Translator.Cs2Cpp.Framework as a Cake Tool
#tool nuget:?package=CodePorting.Translator.Cs2Cpp.Framework&version=24.12.0                

Description

CodePorting.Translator Cs2Cpp is a framework capable of translating C# code to C++. The resulting code provides the same API original .Net code had and can run in the translated (unmanaged) C++ environment.

CodePorting.Translator.Cs2Cpp.Framework package contains a C++ Library with a substitution for .Net classes and some service code. The translated code is ultimately dependent on this component.

If you use the full CodePorting.Translator Cs2Cpp package to translate your code, this library is already included in it, and you don't need to manage this dependency manually as the translator will generate CMake project files with proper references. However, if you're planning to distribute your translated code, providing the dependency on CodePorting.Translator.Cs2Cpp.Framework Nuget package (where applicable) is the easiest way to do so. Alternatively, you may ask your clients to download respectful CodePorting.Translator.Cs2Cpp packages from the CodePorting website.

Always make sure that the version of the translator used to translate your code matches the version of the CodePorting.Translator.Cs2Cpp.Framework package you use. Failing to do so can result in compilation and/or runtime errors, since the API may change between the versions.

Usage

The types from this package can be used in the client's code to interact with the translated code. Please make sure to use proper smart pointer wrappers for class-like types. For more information, please refer to the product documentation.

#include <system/string.h>
#include <system/console.h>
#include <system/collections/list.h>
#include <MyTranslatedProject/MyTranslatedClass.h>

using namespace System;
using namespace System::Collections::Generic;
using namespace MyTranslatedProject;

int main(int, char*[])
{
    auto list = MakeObject<List<String>>();
    list->Add(u"Apple");
    list->Add(u"Banana");
    list->Add(u"Apricot");
    list->Sort();

    auto myobj = MakeObject<MyTranslatedClass>();
    list = myobj->Process(list);

    for (const auto &item : list)
        Console::WriteLine(item);
    return 0;
}

Resources

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on CodePorting.Translator.Cs2Cpp.Framework:

Package Downloads
Aspose.PDF.Cpp

Aspose.PDF for C++ is a native C++ library that enables the developers to add PDF handling capabilities to their C++ applications. Aspose.PDF for C++ API can be used to build C++ applications which are capable of reading, writing, rendering, printing, and converting PDF documents (PDF, PDF/A). You can also work with attachments, images, security, signatures, text, and tables. Aspose.PDF for C++ allows you to extract text from all pages of a PDF document, set privileges on a PDF file, work with bookmarks and annotations. It also gives you vast control over customizing the PDF display properties, fonts, zoom fact, and content formatting. Text search feature is also available. You can convert PDF documents to the DOC, DOCX, and SVG formats by simply calling the designated C++ methods. Aspose.PDF for C++ performs equally well at the client-end and server-side. It can be used in the development environment that supports C++ but explicitly supports MS Visual Studio 2015 or later. Aspose.PDF for C++ can be installed manually by downloading its ZIP package or it (Aspose.PDF.CPP) can be added via NuGet Package Manager. Support for Qt framework is also available.

Aspose.Slides.Cpp

Aspose.Slides for C++ is a robust API for enhancing your C++ applications with the Microsoft PowerPoint and OpenDocument presentation manipulation features for a large variety of file formats (PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM, ODP, OTP, etc). Once you seamlessly integrate our API, your C++ Apps will not need any 3rd party component or software to be installed. Apart from presentation file creation, loading, conversion, merging, and printing you can also perform content formatting. Render slides, as well as the images on slides in various image formats (PNG, BMP, JPEG, etc). Add, format, modify, compare and clone slides as well as their layouts. Work with charts, shapes, SmartArt, tables, and text. Aspose.Slides for C++ also helps you with fine-tuning the 3D aspects of PowerPoint presentations (rotation, depth, extrusion, gradient, WordArt). Aspose.Slides for C++ supports both 32-bit and 64-bit Microsoft Windows as well as 64-bit Linux and macOS. Other versions: Aspose.Slides for C++ 32-bit library - https://www.nuget.org/packages/Aspose.Slides.Cpp.x86

Aspose.Words.Cpp

Aspose.Words for C++ is a Document Processing library that allows developers to work with documents in many popular formats without needing Office Automation. Users can perform a wide variety of document tasks, ranging from simply converting documents from one supported format to another and modifying these documents during the conversion process, to business-oriented tasks, such as creating structured and visually appealing documents or automating reporting with complex templates and data-bound fields.

Aspose.PUB.Cpp

Aspose.PUB for C++ is a native C++ library that enables the developers to add pub converting to their C++ applications. The library allows convert pub document to pdf.

Aspose.Email.Cpp

Aspose.Email for C++ is a native C++ library that enables C++ developers to create, manipulate and convert Outlook and other popular emailing file formats. The API is independent of Office Automation or MS Outlook, and doesn't need these to be installed on the server. The API can be used on Windows OS for working with emailing file formats. Developers can use the API to transmit messages via a number of popular protocols like POP3, IMAP, SMTP

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.12.0 295 12/18/2024
24.11.0 1,470 11/19/2024
24.10.0 1,732 10/17/2024
24.9.0 2,236 9/16/2024
24.8.0 1,984 8/20/2024
24.7.0 1,721 7/12/2024
24.6.0 2,779 6/19/2024
24.5.0 2,884 5/16/2024
24.4.0 5,837 4/18/2024
24.3.0 3,785 3/14/2024
24.2.0 5,261 2/16/2024
24.1.0 21,157 1/19/2024
23.12.0 5,569 12/20/2023
23.11.0 5,980 11/17/2023
23.10.0 6,709 10/13/2023
23.9.0 7,466 9/16/2023
23.8.0 6,560 8/15/2023
23.7.0 4,895 7/18/2023
23.6.0 8,440 6/16/2023
23.5.0 7,620 5/19/2023
23.4.0 7,042 4/13/2023
23.3.0 12,141 3/20/2023
23.2.0 9,204 2/15/2023
23.1.0 9,404 1/20/2023
22.12.0 13,406 12/16/2022
22.11.0 10,025 11/15/2022
22.10.0 14,755 10/20/2022
22.9.0 13,466 9/14/2022
22.8.0 12,222 8/16/2022
22.7.0 15,020 7/19/2022
22.6.0 12,959 6/16/2022