Notice: Undefined offset: 15020767 in /var/www/html/qa-external/qa-external-users.php on line 744
can i use windows.h in C++ online compiler ? - OnlineGDB Q&A
Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

can i use windows.h in C++ online compiler ?

+2 votes
asked Aug 18, 2019 by anonymous

1 Answer

0 votes
answered Jun 3, 2025 by Jerry Jeremiah (2,040 points)
OnlineGDB is a linux machine and it doesn't run Windows, so you can't use Windows or DOS headers.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...