What’s wrong? How to calculate the logarithm in this function? How to do input validation? How do I check for negative exponents? Why does the function exist when the logarithm is negative, but the code does not recognize it? I put restrictions on the negative logarithm, but the function for negative values of the logarithm ..
I was making a C++ project using atom and MinGW. The project required libraries that are not present by default. So I just downloaded and copy-pasted them in C:/MinGW/include/ . Using them directly in #include statement as #include<SDL2/SDL.h> didn’t work but using absolute link as #include<C:/MinGW/include/SDL2/SDL.h> worked. What could be the reason? Source: Windows Questions ..