0
When writing my own classes, do I need to ifndef iostream (std lib) includes or just user define ones?
ifndef on std lib. includes?
1 Resposta
+ 3
you only need to ifndef only user defined header files. Standard header files have ifndef already present in them.
Although, I don't think there's any harm in putting them inside ifndef.