menu
2 votes
1 answer
How do I fix the long delay between MIDI notes? Wrote a program to play the melodies that are stored in a text file, when playing between the sounds for some reason there is a delay of about one half second, although ...
asked Dec 25, 2021
1 vote
1 answer
Qt/C++ Checkers Which classes would be better to divide the program into? To get some experience I want to do checkers, I do not really know what classes would be more rational to break the program. In terms of functionality, there should be a ...
asked Nov 25, 2021
1 vote
1 answer
image
Where is the error in the matrix sorting algorithm? The matrix should be sorted so that first come the negative, then the positive, and then the zeros, keeping the sequence, but my zeros come first for some reason for (i ...
asked Sep 24, 2021
1 vote
1 answer
image
What is the matrix sorting error? The task is to create an algorithm that will sort a matrix from a two-dimensional array as follows: first there are negative numbers, then zeros, and then positives. It ...
asked Sep 22, 2021
1 vote
1 answer
image
Why does nan ind pop up when decomposing a Fourier series? Started to learn pluses, this is the problem, decompose the function using Fourier series, accuracy 0.0001. The value of the function is found, but the row does not wor ...
asked Sep 21, 2021
1 vote
1 answer
image
How do I sort the matrix correctly? I need to sort a matrix created using a two-dimensional dynamic array so that negative numbers go first, without creating an additional matrix, M - number of columns N - ...
asked Sep 20, 2021
1 vote
1 answer
What is the error in my algorithm for sorting the array? There is an array, dynamic, set randomly using the function rand in the range 0;2, I need to sort it so that it began with 1, then went zeros, and at the end of the tw ...
asked Sep 18, 2021
1 vote
1 answer
image
How to implement such sliders in css and html? Very long struggled with these sliders, but I did not find any information, can anyone know how to describe such sliders? ...
asked Feb 24, 2021
1 vote
2 answers
image
How do I align content along one imaginary line in css? There are two imaginary blocks, one with text and one with a picture, how do I put them symmetrically to the drawn line? So that they are centered on each other. ...
asked Feb 24, 2021

251k questions

567k answers

0 comments

355k users