Posts by Luis Felipe Mello • 13 points
1 post
-
1
votes1
answer68
viewsQ: Struct with Union is giving invalid usage error
I need to use a union within a struct, but I’m not getting it. The error presented is [Error] invalid use of 'Union Client::document' Struct: struct Cliente{ string nome, email; union documento{…