C++ Keywords (from cpp.reference.com)

C++ Fundamental Types (from cppreference.com)

C++ Operator Precedence (from cpp.reference.com)


#include

#include

class ClassA
{
public:

explicit ClassA( std::string name ) // Declare all single parameter constructors as explicit
: privateMember1( name ) // member initializer
{
}

void setPrivateMember1( std::string name )

{

privateMember1 = name;

}

private:
std::string privateMember1;

};