1

I got an assignment in which I can use any method, as long as it is part of the ANSI - c standard. I want to use freopen, except I don't know if its part of the standard. I have looked at "The C programming language" book's list of methods and it doesn't seem to be there, but it was in C89 so I doubt it isn't in ANSI.

Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105
avivgood2
  • 227
  • 3
  • 19

1 Answers1

2

freopen() function conforms to C89.

And C89 is ANSI C.

CodingLab
  • 1,441
  • 2
  • 13
  • 37