eated with Spire.PDF for .NET.\rfprint f ( fp,F0RMA7ustu[ i ] .num, stu[ i ] .name,s tu[ i ] . score);\rfclose( fp);\r)\rvoid output (char a[ ] z jnt sn) // s n G}~p"%P`Sp`a\r(\rint i ;\rFILE *fp;\ri f (( fp=fopen(a,"r") )==NULL)\r(\rprint f ("Cannot open f i Ie.");\rexi t (0);\r)\rcout<<endl<<""%`ap?8?"<<endl;\rfor( i=0; i<sn; i++)\r(\rf scanf ( fp,FORMAlu&stu[ i ] .numzs tu[ i ] .name,&stu[ i ] .score);\rprint f (FORMAIustu[ i ] .num,s tu[ i ] .name.s tu[ i ] .score);\rprint f (An")u\r)\rfclose( fp);\r}\rvoid main()\r(\rchar a[20];\rcout<<“"#P`h?\rcin%a;\rinput (a); / / #P`h:?<{\n_G\routput (a,N); / / #:?N <\n"%?8p+\r G ?r?8P`Ss/b !<~mS|\r? G “” stu.txtP`b~"#z_?8b~ ?\routput(“stu.txt“,N);¡4¢|