Class properties

  • Thread starter Thread starter Ste
  • Start date Start date
S

Ste

Hi all,
I'm new to c++ and I've a problem with classes (not properly in .net
context, but in general..). Is it possible to define (in classic c++)
properties in classes, but not just as simple fields? Can I have a single
property for get / set porpouse (like in c# or vb), or have I to build
always 2 routines, one for reading data and one for writing?
Sorry for my English!
 

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