How to emulate union c++ behaviour

  • Thread starter Thread starter Tommaso Caldarola
  • Start date Start date
T

Tommaso Caldarola

I have several binary files, for every file i can have int, double, decimal
values and so on.

I'd like to write an only method in order to read data,
can I write something similar to struct union c++?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top