为什么会造成错误。
原文:Why does this give a bad_alloc error?
原文:Why does this give a bad_alloc error?
Currently I m trying to set up a member function for Student that reads a string from cin, is used as an argument for this function and then creates a Student object with the data. However, is it ...