C++ const arguments in functions
问题 I'm continuing my studies for uni with C++ and I'm running into some serious comprehension issues concerning pointers, const arguments and all the very basics of class implementations (which are so easy in Java compared to C++) I usually work with Java, so C++ is very new to me. This is my simple header for a class "Person": #ifndef Person_h #define Person_h class Person { private: char* name; char* adress; char* phone; public: Person(); Person(char const *name, char const *adress, char const