I have found what seems to be the problem. I was using the C compiler as default
therefore, I was receiving these errors since all block variables need to be declared at
the beginning of the block (C89). I have changed to an C++ compiler and renamed my file
to end with.cpp Now, everything works fine. (bad mistake)
18 Nisan 2020 Cumartesi 21:37:28 UTC+3 tarihinde Batu Özmeteler yazdı: