0

c work with display and sound

Is there anyone who is able to tell me how to define displaing pixel (by method using position or just every single pixel), then getting position of mouse/touch, pressed button... and last thing is sound - so how to get sound and then play it... i know that pixel is defined by position and rgb... and sound is just hights * wide of wave

17th Oct 2018, 4:17 PM
nicolas turek
nicolas turek - avatar
4 ответов
+ 2
i was trying to do the same thing and i decided to download a graphics library for c++ and it worked now i can color pixels on a window that i create but i dont know how to color a pixel directly on the screen tho.And about the sound there is also a library for it.Because i think it would be harder to do it with raw code but i would like to know how to color a pixel directly on my screen
22nd Oct 2018, 6:24 AM
darkorbit17493
0
ok...so if i want to know how to color pixel, i should look into glut.h and for sound some kind for directX library?
22nd Oct 2018, 2:55 PM
nicolas turek
nicolas turek - avatar
0
yeah actually directX also works for coloring a pixel
22nd Oct 2018, 3:00 PM
darkorbit17493
0
i mean direct for sound
22nd Oct 2018, 3:00 PM
nicolas turek
nicolas turek - avatar