I am new to C++ and am trying to do this
void rolodex::createCard(){
char* userData = "\0";
cout << "\n\nEnter first Name - ";
cin >> userData;
currentCard.setFirstName(userData);
cout << currentCard.getFirstName();
count++;
}
when I try to execute it gives me an unhandled exception, access violation error
What am I doing wrong ?? .. please help