Hello, nikov, you wrote: N> Write in your favourite language the program (or function) which accepts a line, checks it on exact coincidence to the initial text of the same program and prints (or returns) result of this check (true/false, 1/0, "yes" / "is not present" etc.). If language has the built in command for obtaining of the initial text of the program, do not use it. You badly think over statements of the problem. It is possible after all to suppose the source code near to the program (or to suppose in the program as a resource) in the form of the text file. And to compare the text to the text file. Here still there is a such: http://habrahabr.ru/post/119676/
↧