I'm having an annoying problem and it's one that is just really eating at me because when I try to intialise a string variable through a member initialisation list I just get errors I tried doing it without the initialisation list and it works perfect yet when I use it just produces an error could anybody tell me where I have gone wrong?
||=== Build: Debug in comp4 (compiler: GNU GCC Compiler) ===|
\Documents\comp4\src\people.cpp|8|error: prototype for 'people::people()' does not match any in class 'people'|
include\people.h|8|error: candidates are: people::people(people&&)|
include\people.h|8|error: people::people(const people&)|
include\people.h|12|error: people::people(std::string)|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|