How to use exit function like exit [0] etc. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

How to use exit function like exit [0] etc.

Reply guys if you understand my question

4th Jan 2020, 5:08 AM
M Razaz 🇵🇰
M Razaz 🇵🇰 - avatar
1 Réponse
+ 3
Use cstdlib to use `exit` function. #include <cstdlib> https://en.cppreference.com/w/cpp/utility/program/exit you can call it by passing exit code like: exit(0);
4th Jan 2020, 6:43 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar