can you please help me fix this issue?
i already watched many youtube videos to fix code blocks as well as the vsCode ide but still the issue isn’t solves.
My IDE doesn't support cpp17 features
Try to compile the program using the c++17 flag ,
compile like this in the terminal: g++ file_name.cpp -std=c++17
Please then tell me the error.
And have you installed and added to environment variables the latest MingGW.
yes i have added the latest MingGW
i am not very familiar with the terminal. isn’t there any way directly in UI of code blocks?
@priyamthakuria27 Can you please first try with the command prompt so as to check where the problem actually lies. run cmd, cd Desktop, will get you to the desktop. cd folder_name (in the same directory).
cd … to go to parent directory,
now i am inside the folder. what is the command to run the .cpp file now?
type a.exe to run it after it has compiled.