CodePorting.Translator Cs2Cpp Tutorial examples

This section collects the tutorials. These brief examples demonstrate how to translate specific types of target C# code.

Base Assumptions

All the examples below are based on the following assumptions:

  • Translator with framework is installed to C:\CodePorting.Translator_Cs2Cpp directory
  • The sample C# code (if any) is located in C:\SampleName directory, where SampleName is the name of example in GitHub examples repository.
  • The output directory is C:\output

Examples List

A list of training examples in order of increasing complexity. To avoid repeating the same information in every lesson, it is assumed that before moving on to the next one, you will have familiarized yourself with the content of the previous ones.

  1. Single file translation.
  2. Simple console application translation.
  3. Simple library translation.
  4. Simple nUnit test translation.
  5. Dependent console application translation.
  6. Complex console application translation.
  7. Sample solution translation.