Why don't we use void main and iostream.h | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Why don't we use void main and iostream.h

25th Nov 2017, 2:35 AM
Kishan Patil
Kishan Patil - avatar
2 Réponses
+ 5
You can use void main if your compiler has an extension to allow it, but it's not standard... we don't use iostream.h because it's deprecated and no longer supported
25th Nov 2017, 2:40 AM
aklex
aklex - avatar