Zssffssz -4 Junior Poster

Can anyone list the pices of hardware I can manipulate with C++ and code with it \
ex: #include <windows.h>
Beep(250,250)
for internal sepeaker.
Thanks in advance