Why a cup has no single gram answer
A US cup is 236.6 ml. Water at that volume weighs 237 g, flour about 125 g, honey about 340 g. Any converter that gives one number for "cups to grams" is only right for one ingredient.
Spoon and level
Dipping the cup into the bag compacts the flour and can add 25 g per cup — enough to make a cake dry. Spoon the flour in, then level with a knife. If a recipe lists grams, trust the grams.
UK and US cups are the same
Both are 236.6 ml in modern recipes, but older UK recipes use a 284 ml cup. If a book predates the 1970s and the cake comes out dry, that is usually why.