Tangible Software Solutions provides the source code conversion function, which can add different projects to the software to convert each other, so as to get the language projects you need. For example, your current development project is C #, adding projects to the software can output them as C++projects, so that you can use new projects in other places, or you can directly add Java projects to the software to convert them into VB projects, Let your project run in the VB environment. This software has simple functions. It only provides the project type conversion function. You can add your own development projects directly by opening the software. You can start the conversion by setting the output address, and you can download the experience if you need!
software function
1、 Project and folder conversion
The Project and Folder Converter tab allows you to convert all C # code in a project or folder. After the file is converted, you can view the C # to C++converter Comment, compare the converted code file with the original code file, and view the converted code folder.
The Conversion History list view shows the source of the previous conversion and allows you to view the remaining C # to C++converter comments and view the converted code folder.
Note that due to the lack of similarity between C # and C++project types and project files, the C # to C++converter does not generate C++project files. You need to assemble the results C # to C++ Header and. cpp files generated by the converter.
The default output of the conversion is the traditional separation of. h and. cpp files, but you can choose the option of outputting to header only files (using combined declaration and implementation details).
2、 File and clip conversion
The Files and Fragment Converters tab allows you to convert C # code fragments or files. In the left text box, you can type or paste code snippets, insert files, or view C # to C++ Translator sample clip. After converting a file or clip, you can select and copy the results, save the results to add to the file, or search for results.
3、 Command line conversion
The C # to C++converter can be started from the command line. Two or three parameters plus an optional last parameter indicate the location option file for conversion. If only one parameter is specified, it is interpreted as One of your custom project conversion groups. If two parameters are specified, the first parameter is the C # project file, folder or file to be converted, and the second parameter is the converted C++ The folder or header file to which the file will be written. If you include an optional last parameter that indicates the location of the conversion options file, the file is imported before the conversion starts. Conversion Options File The extension is ". opt" and is generated by exporting existing options from the converter to a file.
For example (project group conversion)
"C # to C++Converter", "My Project Group", such as (single project conversion)
"C # to C++Converter", "C # project sample project. csproj", "C: C++project sample target folder"
Software features
1. Assume imported namespace for snippet transformation
You can specify that the namespace of the snippet converter is assumed to be available when interpreting the original code. The code snippet converter then converts as if the code snippet contained the corresponding "using" instruction.
2. Convert Message Options
In this option dialog box, you can customize the annotation prefix converter for messages, and switch the message display of C # to C++converter on or off. You can easily set all or no displays through the Select All and Select All buttons.
3. Custom string replacement
The C # to C++converter allows you to specify substitutions in your own custom converted C++code. This is useful for the C++# Is different. It is also useful for cases where C # methods without good C++equivalents will be replaced by your own custom methods and called from the converted code.
4. Type and member replacement
The C # to C++converter allows you to specify your own custom types and member replacement in the converted code. This is useful for specifying specific types of unhandled in the following cases NET The substitution of member calls is through the C # to C++converter.
usage method
1. Multiple versions of converters can be used. You can choose a version of software to install in VB, C #, C++, and Java and other code conversions
2. As shown in the figure, the editor selects C # to C++Converter software to install to the computer for use
3. Then open the registration machine KeyMaker.exe to display the registration code
4. Enter the registration code into the software to unlock all functions of the software
5. Here is the project addition function. You can add C # projects to the software to perform conversion
6. If you have a C# project Files (". csproj) can be directly added to the software
7. Click the convert button to start the conversion, and you can view the historical information of the conversion at the bottom of the software
8. This is the help interface. You can view the relevant tutorial content of the software
9. There are many settings: blank format options, type and component replacement, custom string replacement, standard library options
10. Braces settings
Open brace on next line
Open braces on the same line
Indent Brackets
Place else/catch/finally on the previous closing brace line
Place "while" on the right brace line of the do while block
Remove braces from a single sentence block
Treat comments as statements
11. Spacing setting interface
Fill parentheses with spaces
Brackets initializer with spaces
Fill parentheses with spaces
Use spaces around unary operators
Use spaces around binary operators
Use spaces after control flow keywords
Add space after comment tag
12. Interrupt under main conditions
Line starts with logical operator
Line ends with logical operator
The first condition on the new line
Right parenthesis on new line
Indent Right Bracket
Minimum condition number
Minimum line length (in characters)