Or he can use my approach. He just needs to put the code lines to the game update loop to set the position, and then to read it in the rendering loop.
Well, he needs 2 classes. One for the bullet, one for the character. Each of them needs the x and y value to set the position and the angle. The angle of a bullet is fixed, just take the direction of the character when you shoot. The angle of the character is dynamic. I don’t know how you want to move the character but that’s easy. Just rotate the character by pressing left or right keys or let rotate him by the mouse and calculate the angle. That’s it.