Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* problems mixing stdio and stdc++ libraries
@ 1998-01-11 17:14 Alessandro Mirone
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Mirone @ 1998-01-11 17:14 UTC (permalink / raw)


Hi people,

Under RH5.0  I have problems with c++ programs that
mixes stdio and iostream
a programs like this

#include<stdio.h>
#include<iostream.h>
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problems mixing stdio and stdc++ libraries
@ 1998-01-11 20:06 N8YDAWG
  0 siblings, 0 replies; 3+ messages in thread
From: N8YDAWG @ 1998-01-11 20:06 UTC (permalink / raw)


DON'T WRITE ME ANY MORE

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problems mixing stdio and stdc++ libraries
       [not found] <ca1b9583.34b92637@aol.com>
@ 1998-01-12 16:36 ` Joakim Roubert
  0 siblings, 0 replies; 3+ messages in thread
From: Joakim Roubert @ 1998-01-12 16:36 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

On Sun, 11 Jan 1998, N8YDAWG wrote:

> DON'T WRITE ME ANY MORE
> -- 
> 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

Try unsubscribe....?

/Jokke tmw.

---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
           Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-01-12 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ca1b9583.34b92637@aol.com>
1998-01-12 16:36 ` problems mixing stdio and stdc++ libraries Joakim Roubert
1998-01-11 20:06 N8YDAWG
  -- strict thread matches above, loose matches on Subject: below --
1998-01-11 17:14 Alessandro Mirone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox