l.h,12»%xt8-3-hl.h\r#include<string>\rnamespacestudent1\r{classStudent\r{public:\rStudent(intn,stringnam,inta,stringaddr)\r{num=n;name=nam;age=a;address=addr;}\rvoidshow_data();\rprivate:\rintnum;\rstringname;\rintage;\rstringaddress;\r}\rvoidStudent::show_data()\r{cout&"num:"&num&"name:"&name&"age:"&ageEvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\r&"address:"&address&endl;\rXT8-3-H2.H\r//header2.h,12»%xt8-3-h2.h\r#include<string>\rnamespacestudent?\r{classStudent\r{public:\rStudent(intn,stringnam,chars,floatsco)\r{num=n;name=nam;sex=s;score=sco;}\rvoidshow_data();\rprivate:\rintnum;\rstringname;\rcharsex;\rfloatscore;\r)\rvoidStudent::show_data()\r{cout&"num:"&num&"name:"&name&"sex:"&sex\r&"score:"&score&endl;}EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\r)