prog.cpp:11:18: warning: multi-character character constant [-Wmultichar]
strcpy(password, 'NULL')
^~~~~~
prog.cpp:9:18: error: ISO C++ forbids declaration of ‘personalpassword’ with no type [-fpermissive]
personalpassword()
^
prog.cpp: In member function ‘int personalPassword::personalpassword()’:
prog.cpp:11:24: error: ‘strcpy’ was not declared in this scope
strcpy(password, 'NULL')
^
prog.cpp:15:1: error: ‘count’ was not declared in this scope
count<<endl;
^~~~~
prog.cpp: In member function ‘char* personalPassword::getPass() const’:
prog.cpp:23:8: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
return passptr;
^~~~~~~
prog.cpp: In member function ‘void personalPassword::passEncrypt()’:
prog.cpp:27:32: error: ‘strlen’ was not declared in this scope
for (int i=0; i<strlen(password); i++)
^
prog.cpp: In member function ‘void personalPassword::passDcrypt()’:
prog.cpp:33:31: error: ‘strlen’ was not declared in this scope
for(int i=0; i<strlen(password); i++)
^
prog.cpp:35:1: error: ‘count’ was not declared in this scope
count<<"The decrypted password using the passDecrypt()function is :"<<password<<endl;
^~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:42:1: error: ‘count’ was not declared in this scope
count<<"The Password via getter function is:"<<pass.getPass()<<endl;
^~~~~