From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2d25ae8d23ff2d5a5561ebd61bb4839e.axp-list@archive.invalid> X-Archive-Original-Message-ID: <34B8FB5E.40AE0B4E@bob.usuf2.usuhs.mil> Date: Sun, 11 Jan 1998 18:14:29 +0100 (MET) From: Alessandro Mirone Subject: problems mixing stdio and stdc++ libraries Hi people, Under RH5.0 I have problems with c++ programs that mixes stdio and iostream a programs like this #include #include main() { FILE *f=fopen("pippo","w"); FILE *f1=fopen("pippo1","r"); cout << "ciao\n"; fprintf(f,"ciao\n"); fscanf(f1,"%c",&c); cout << "ciao\n"; fclose(f); fclose(f1); } gives me segmentation fault when compiled with stdc++ in RedHat 5.0 I did not find the problem with 4.2. Any Hints? Thank you Alessandro MIRONE LULI, 91128 Ecole Polytechnique, Palaiseau alex@greco2.polytechnique.fr tel: (33) (1) 64468029 Tel cellulaire : 0681643779 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com