No instance of overloaded function “strcpy_s” matches the argument list
问题 For some reason a char cant go in strcopy_s();... #include <iostream> #include <cstring> using namespace std; struct DATE { int year; int month; int date; }; struct Book { char name[50]; char author[50]; int id; DATE date; }; int main() { Book book1; DATE date1; char bookName, bookAuthor; int date, year, month; cout << "Date Of Publishing? " << endl; cin >> date; cout << "Month Of Publishing?" << endl; cin >> month; cout << "Year Of Publishing?" << endl; cin >> year; date1.year = year; date1