What version of the IRremote library are you using? That code is written for an older version of the code than is currently the latest version.
The IRremote GitHub page shows how to convert the older code to work with the new version of the library. And the examples show how to use the new version.
Here is a simple example remote reader using the latest library version.
The command is the unique code for each key.
The address is the identifier for the particular remote or remote function (TV, DVD, ... ).
And raw is the raw data that includes the command and address.
Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
You can go back and fix your original post by highlighting the code and clicking the </> in the menu bar.
please use English in the general forum and do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation for your ask).
Your two topics on the same or similar subject have been merged.
Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.
Repeated duplicate posting could result in a temporary or permanent ban from the forum.
Could you take a few moments to Learn How To Use The Forum
It will help you get the best out of the forum in the future.