Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for advice on (nor for problems with) your project.
Please do not post screenshots of code or errors. Post them using so-called code tags.
What model of Arduino are you using, an Uno or something else?
Is the Xbee plugged into some kind of interface board or shield?
What model of Xbee model do you have and what firmware is loaded. (There are many different hardware versions and a bewildering array of firmware choices.)
Just looking at the code for the transmitter, you are sending data as fast as possible however the Xbee is probably incapable of handling data at that high rate, so you will get data corruption. Perhaps start by only sending one message per second.
yes, I use xbee usb adapter, and what I use is xbee pro s3b for both, for firmware I made it on XBP9B-DM and function set XBee PRO 900HP 200K and firmware 8075.
actually I tried to send 1 message per second, but nothing happened, so I thought the delay was too long and I deleted the delay.
actually if i put the xbee transmitter on the usb adapter and the xbee receiver through the arduino uno, i can already send any message,
but the problem is i haven't found any code to transmit "hello world" message if both xbees communicate using arduino uno, i have tried many programs and no result, would you help me?
In 'point to point' transparent mode you can probably set both devices to CE = End Device [0], as there is no concept of a coordinator (or router) in a point to point connection.
Make sure the Xbee's have different values for MY and DL.
If one has DL = 1 and MY = 2, the other must be DL = 2 and MY = 1.
Simplify the receiver loop code so that it simply prints each character as it arrives. First get basic communication working.