Hai ragione,
errore di distrazione,
ho modificato in using
ad ogni modo mi da l'errore di cui parlavo prima (ovviamente diverso), copio e incollo i log:
Compiling single file...
--------
- Filename: C:\Users\Pasquale\Documents\corsoprogrammazionec\provamusica.cpp
- Compiler Name: TDM-GCC 9.2.0 64-bit Release
Processing C++ source file...
--------
- C++ Compiler: C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\bin\g++.exe
- Command: g++.exe "C:\Users\Pasquale\Documents\corsoprogrammazionec\provamusica.cpp" -o "C:\Users\Pasquale\Documents\corsoprogrammazionec\provamusica.exe" -I"C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\include" -I"C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\x86_64-w64-mingw32\include" -I"C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\lib\gcc\x86_64-w64-mingw32\9.2.0\include" -I"C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\lib\gcc\x86_64-w64-mingw32\9.2.0\include\c++" -L"C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\lib" -L"C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\x86_64-w64-mingw32\lib" -static-libgcc
C:/Program Files (x86)/Embarcadero/Dev-Cpp/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\Pasquale\AppData\Local\Temp\ccrYkh7K.o:provamusica.cpp:(.text+0x1c): undefined reference to `__imp_sndPlaySoundA'
collect2.exe: error: ld returned 1 exit status
Compilation results...
--------
- Errors: 1
- Warnings: 0
- Compilation Time: 1,24s