Aside from access specifiers (private, public, protected), what differentiates structures and unions from classes in C++? I have been told that in C++, classes and their associated components are instantiated in memory in pretty much random order, but structs and unions are instantiated in a fixed order? Is this true? Where can I find this information?
monstro 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Prabakar 77 Posting Whiz
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Prabakar 77 Posting Whiz
monstro 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Salem 5,172 Posting Sage
Duoas 1,025 Postaholic Featured Poster
vijayan121 1,152 Posting Virtuoso
monstro 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.