Answered step by step
Verified Expert Solution
Question
1 Approved Answer
++ i am having a problem with my programming project in c it keeps giving me invalid conversion from 'const char*' to 'char' error i
++ i am having a problem with my programming project in c
it keeps giving me invalid conversion from 'const char*' to 'char' error
i could not understan most of slotuions online so plase make it clear and simple
what should i change and how can i do it
CiUsersiDiOYDocumentsiproject22..pp - Dev-C++ 5,11 File Edit Search View Project Execute Tools AStyle Window Help Project Classes Debug project22.cpp Untitled144444.cpp \#include Aincludecfstreams "include(cstdilib> Hincluderstring> using namespace std; class CommunityMemberf private: unsigned long int ID; char FirstName[35], char LastName[35]; unsigned long int CellPhone; pub1ic: CommunityNember OX ID=83 FirstName =nn; LastName CellPhone 8; CommunityMember (unsigned long int id, const string fn, const string B1n, const string saddr, unsigned long int cp ) ID = id; FirstName =fn; LastName =1n; Address = addr Address = addr; CellPhone =cp; void setID (unsigned long int id) \{ ID=1d; \} unsigned long int getID () const \{ return ID; void setFirstName(const strig 8fn){ int length-fn.size(); length-(1engthStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started