Advice 1: How to determine the language of the program

To write computer programs using programming languages. After compiling the code you get the executable file. Sometimes the user may need to know what language the program is written.
How to determine the language of the program
Instruction
1
The difficulty of determining the language of the program depends on how you got the program in source code form or executable file. If you see the source code to determine the language simply for its syntax – that is, by their characteristic structures. Despite the fact that programming languages are very much widespread name a few.
2
If Delphi is used in the popular programming environment Delphi and originate from Turbo Pascal in the program code contains such characteristic statements as begin and end. Once viewing the source code on Delphi, you will not confuse this language with any other. Sources and other helpful information on Delphi can be found here: http://www.delphisources.ru/
3
For a very common C++ language characterized by their design. When you first look at the source code of the program you will rush to the location of braces, it is very revealing. In addition, C++ is typical of the comments after the double slash: //. In looks like (for the non-programmer's demands) language With comments is used: /* comment text */ (in C++ you can use both, but usually used double slash). View the source code in C++ here: http://www.codenet.ru/progr/cpp/ccpphistory.php
4
Language C# (pronounced "C sharp") is relatively recent and actively developed by Microsoft. Convenient to quickly write custom applications. Inherited many syntactic features from C++. Check the syntax of the C# language here: http://simple-cs.ru/csharp.aspx
5
Visual Basic (VB). Very easily recognizable syntax. The sample code in this language can be found here: http://www.rusedu.info/index.php?module=News&catid=&topic=22
6
Assembler. Low-level programming language. Programming it is quite difficult, but the resulting programs are characterized by small size and speed of operation. Syntax assembler can be found here: http://www.realcoding.net/article/view/1535
7
Open source C, C++, C# and VB you can use the development environment Microsoft Visual Studio. For Delphi you will need a development environment Borland Delphi.
8
If you need to learn the language in a precompiled program, the situation is more complicated. Most ready-made programs Packed, and many additionally are encrypted to counter the hacking. To know Packed with the program or not and to determine its protection will help you utility Protection ID. You can download it here: http://exelab.ru/download.php?action=get&n=MjAw
9
Packed program you have to unpack, there are special utilities. You can download them here, under "Rusakovsky": http://www.cracklab.ru/download.php
10
After unpacking the program, you can find out what language it is written with the help of utilities PEID. You can download it here: http://cracklab.ru/download.php?action=list&n=MzU=. Run the utility and open with her help you are interested in executable file. In the lower window of the program will be information about what language it is written.

Advice 2 : How to know in which language is written

There are a huge number of languages. Some languages are born again, some become dead. In order to translate the text, you must first determine which language it is written. Modern technologies allow to do it fast enough
How to know in which language is written
You will need
  • - computer
  • - automatic language identifier
  • - if you define a language on its own - sources and description of various languages.
Instruction
1
You have several options. You can consult a specialist so that he determined the language of the text. You can try to determine the language. But today the quickest way to define the language for those who have the Internet is automatic language identifier.
2
In the first case, for all you do specialist. Second - analyze the text. To the peculiarities of different languages include: the direction of writing, the character set subscript and Superscript characters, and the like.
3
For a quick way to use automatic language identifier, which is sometimes called the guesser. Today developed various determinants of language that you can use for free. Basically, the determinants of language differ in the number of languages that they recognize, and vocabulary base in each language.
4
The determinant functions as follows. He divides the text you entered in the corresponding field of the word. Comparison of words with those that are in the database of the determinant. He then counts the number of matches of words in different languages and shows you the result – the most suitable language or languages (there may be several).
Note
The result can't guarantee 100% quality. And automatic language identifier is honest will tell you, putting the probability of a correct response.

In order to check if text get a competent answer and be confident in it, use some of the rules work.
1) the Minimum number of words to define – at least 20. However, remember the more you write, the greater the probability of correct identification of the language.
2) Use a number of programs determinants.
3) If possible, select the part of text on which definition will be most effective.
4) If possible, check the text and correct any errors.

Advice 3 : How to know what language the program is written

A programming language is a code, which contains commands to the computer – what to do in case of certain actions. Such languages there is a huge number. How do you know which language is written the program?
How to know what language the program is written
Instruction
1
Look at the code-writing program. On the keyboard, simultaneously press a combination of two keys Ctrl and U. In a separate window, symbols appear that are structured in a certain way.
2
Analyze code. First note on the top line of code. Often the first characters define the language name of the programme, for example, HTML. The definition can also serve as the keywords used to write code specific to each programming language.
3
Change the register writing any of the teams, alternating uppercase and lowercase letters. Languages are case sensitive, for example, C++, C#, Java, JavaScript, Perl, PHP meaning of the word will change, but not sensitive - Delphi, VFP, Basic, VBA, VBScript will ignore it, not changing the function of the command.
4
Look carefully at the symbols of division operators as well as operator brackets. In the languages C++, C#, Java, Perl, PHP, Delphi and Transact – SQL statements are separated by ; in this case the curly bracket languages will differ, for example, in C++, C#, Java, Perl, PHP, brackets will be {}, and in Delphi and Transact – SQL it will begin and end. In some programming languages, such brackets do not exist at all, for example, Visual FoxPro, VBScript, Visual Basic e PL-SQL, they have the division operators going through a line with a new paragraph. Please note that the use of symbols ; and _ (underscore) at the end of lines of Visual FoxPro, VBScript, Visual Basic e respectively is characteristic only to them when you write one statement on several lines of code.
5
Compare the code of your program code, programs written in different languages. Also use the standards of writing programs. This method is quite time-consuming, but most effective.
Is the advice useful?
Search