Hello..
Is it okay to use functions such as setvbuf (that is defined in stdio.h) in a C++ program?
I include stdio.h in the program and it works. Yet, I wonder if its okay.. stdio.h is a part of the standard C library and not standard C++ library, if I'm not wrong.
I also want to know if many such other functions can be used in C++ programming. Is there a clear line between the standard libraries for C and C++? Is using either in the other's programs a bad thing to do?
(I'm using GNU's DJGPP on Windows XP).
Thanks a ton. I love bytes.
Hanaa.
Is it okay to use functions such as setvbuf (that is defined in stdio.h) in a C++ program?
I include stdio.h in the program and it works. Yet, I wonder if its okay.. stdio.h is a part of the standard C library and not standard C++ library, if I'm not wrong.
I also want to know if many such other functions can be used in C++ programming. Is there a clear line between the standard libraries for C and C++? Is using either in the other's programs a bad thing to do?
(I'm using GNU's DJGPP on Windows XP).
Thanks a ton. I love bytes.
Hanaa.
Comment