In Visual Basic per controllare che una stringa corrisponda ad un certo tipo di espressione faccio

codice:
Dim test AS Boolean, str AS String

str = "ABC12"

test = str Like "[A-Z][A-Z][C]##"
test avrà un valore True.

Come traduco la stessa identica cosa in Visual C++???