I have done this the last few times we have been, although I use my Switch card to withdraw the cash rather than a credit card. The charge for using Switch is usually $1 or $2, depending on which ATM you use.
Interestingly, I have just withdrawn some cash on my credit card at a US ATM whilst on business last week and looking at my statement I don't appear to have been charged anything for doing it? The dollar amount was $100 and they have debited my card with £70.55 at a rate of 1.4174.
Must investigate further.............