Click here to Skip to main content
15,887,596 members
Articles / Programming Languages / C++

Implementing VB/C# Style Properties in C++ Classes

Rate me:
Please Sign up or sign in to vote.
3.92/5 (5 votes)
24 Apr 2006CPOL5 min read 30.9K   11  
VB.NET and C# offer property procedures that execute code when the value of a property is set or retrieved. With novel use of code, C++ classes can have them too!

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
I've worked in the industry since 1992. After the dot com crash of 2001, I went back to school and graduated from the University of North Texas in 2005. I now live in the Dallas area with my wife and two children, and work as a senior software engineer for a local company.

I first learned to program on a Commodore 64 when I was 12 years old. The rest is history...

Comments and Discussions