Skip to content
Sign upLog in
← Back to Community
windows.h is not in the file library
Profile icon
cordedmicorbe72

I am doing this project for school and I need to access the windows.h library. However, repl.it doesn't recognize this library. What should I do?
(c++)

Answered by theangryepicbanana [earned 5 cycles]
View Answer
Voters
Profile icon
GSL1M4
Profile icon
EllisBender1
Profile icon
JuanEsDiaz17
Profile icon
AlexCtheWriter
Profile icon
MATHyou
Profile icon
cordedmicorbe72
Comments
hotnewtop
Profile icon
theangryepicbanana

What do you need the library for?

Profile icon
cordedmicorbe72

@theangryepicbanana

I need to make sounds. Like Beep(329, 6000);

Profile icon
theangryepicbanana

@cordedmicorbe72
You can't actually make sounds in repls

Profile icon
PawelBzm

Instead <windows.h> write <unistd.h>
This is for linux and it helped me with command "sleep"

Profile icon
SixBeeps

repl.it runs on linux, so you won't have access to windows.h
sorry, you're gonna need to do this with your own install of c++.