How To Determine The Language Of The Program

Table of contents:

How To Determine The Language Of The Program
How To Determine The Language Of The Program

Video: How To Determine The Language Of The Program

Video: How To Determine The Language Of The Program
Video: One Language Every Programmer Should Know 2024, May
Anonim

Programming languages are used to write computer programs. After compiling the code, an executable file is obtained. Sometimes the user needs to find out what language the program is written in.

How to determine the language of the program
How to determine the language of the program

Instructions

Step 1

The complexity of determining the program language depends on the form in which the program came to you - in the form of a source code or an executable file. If you see the source code, it is quite easy to identify a language by its syntax - that is, by its characteristic constructs. Despite the fact that there are a lot of programming languages, only a few of them are widespread.

Step 2

If it is Delphi - it is used in the popular Delphi programming environment and originates from Turbo Pascal - then the program code contains such characteristic operators as begin and end. Having looked once at the source on Delphi, you will no longer confuse this language with any other. You can find sources and other useful information on Delphi here:

Step 3

The very common C ++ language has its own constructions. At the first glance at the source code of the program, the arrangement of curly braces will immediately catch your eye, it is very indicative. In addition, it is common for C ++ to write comments after the double slash: //. In a seemingly similar (for a non-programmer) language, C, comments are used for comments: / * comment text * / (in C ++, both variants can be used, but it is usually the double slash that is used). You can view the source code in C ++ here:

Step 4

The C # language (read "si sharp") appeared relatively recently and is being actively developed by the Microsoft corporation. Convenient for quickly writing custom applications. Inherited many syntactic features from C ++. You can familiarize yourself with the syntax of the C # language here:

Step 5

Visual Basic (VB). Very easily recognizable by the syntax. An example of the code in this language can be viewed here:

Step 6

Assembler. Low-level programming language. It is quite difficult to program on it, but the resulting programs are small and fast. You can see the assembler syntax here:

Step 7

You can open C, C ++, C # and VB sources using the Microsoft Visual Studio development environment. For the Delphi language, you need the Borland Delphi development environment.

Step 8

If you need to learn the language of an already compiled program, the situation becomes more complicated. Most of the ready-made programs are packaged, many are additionally encrypted to resist hacking. To find out whether the program is packed or not, as well as to determine its protection, the Protection ID utility will help you. You can download it here:

Step 9

The packed program must be unpacked; there are special utilities for this. You can download them here, in the section "Unpackers":

Step 10

Once a program is unpacked, you can find out what language it is written in using the PEID utility. You can download it here: https://cracklab.ru/download.php?action=list&n=MzU=. Run the utility and open the executable file you are interested in using it. Information about the language in which it is written will appear in the lower window of the program.

Recommended: