Is there a Linux alternative for windows.h? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Is there a Linux alternative for windows.h?

I wonder how to access the linux API in a C++ , program

7th Jun 2019, 8:14 AM
Shahil Ahmed
Shahil Ahmed - avatar
2 Réponses
+ 8
It really depends on what you are trying to do. I would be looking at ncurses if you're looking to manipulate the console.
7th Jun 2019, 9:27 AM
jay
jay - avatar
+ 4
Linux has many headers. The main one is <unistd.h>, but here are many more. Check /usr/include or the 2nd and 3rd sections of man. Edit: an incomplete list can be found here: https://pubs.opengroup.org/onlinepubs/9699919799/idx/head.html
7th Jun 2019, 8:39 AM
Vlad Serbu
Vlad Serbu - avatar