To assign weapons to your subordinates simply select the weapon, then the subordinates name, then click the Assign button. Notice you can see which weapons a subordinate already has (not including rifles). Remember that your subordinate may have his own subordinates, so you may need to give extra weapons (if you have them).
Assigning weapons to yourself is basically the same process. There are two important things to remember however. DO NOT assign two weapons to one soldier. Each time you assign a weapon (not ammo) it replaces the weapon the soldier already had. Also, always try to ensure that MP40s and Thompsons always get an ammo box. They tend to run out of ammo very quickly. The number to the right of a weapon is how much ammo it has.
.