Now this could just be that it happened only once and won't happen again. But I asked chat GPT this question:
write a program to write a continuous sine wave into a directsound soundbuffer and play it
It included dsound twice, then hung. That cursor at the bottom has been blinking for minutes now. I don't think its going to do anything next.
For more enjoyment, note that Casey Muratori has some very interesting things to say about const
. Then look at all those const
's
https://twitter.com/cmuratori/status/381303477260914688
P.S. I feel Brian Sharp will be much happier with Rust, which places so many more restrictions for the reasons that he is pointing out. And if I really wanted to not have these variables modifiable, why won't I just use a #define
?