I was wondering if there was any way to make C++ emit sounds, and at different frequencies. What I want to do is be able to play a note for a specific period of time then play a different note...
Type: Posts; User: asofaihp
I was wondering if there was any way to make C++ emit sounds, and at different frequencies. What I want to do is be able to play a note for a specific period of time then play a different note...
I'm having trouble passing a string array to another function. I can pass an integer array like this
int main(){
int numbers[3] = {1,2,3};
void print_array (int*array);
print_array (numbers);...
I ended up turning it into a function in my program, but if anyone wants to know you add a backslash to the end of each line in the macro except for the last line, as brewbuck said.
I was wondering why this code isn't working. I'm trying to make a multi-line macro for use in my program.
#ifndef DISPLAY_INFO
#define DISPLAY_INFO
x = 0;
y = 0;
while (x < 10){
cout <<...