I suggest posting a build log in code tags if you want help; posting a image will likely get you ignored.
https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
I also suggest reading the rules. https://forums.codeblocks.org/index.php/topic,9996.0.html (https://forums.codeblocks.org/index.php/topic,9996.0.html)
I will not be helping you again because as I have already stated I am not a expert C++ programmer.
Edit: My best guess is you accidently typed an ";" in a header file; so, re-installing your compiler might be the proper fix.
Edit2: Yes, that is the problem. You entered an ";" and a newline in file "ctime".
namespace std
{
using ::clock_t;
using ::time_t;
using ::tm;
Tim S.
@sedlacek:
1. In your first screenshot gcc's error message shown by cb told you correctly where the code had a syntax error:
C:\msys64\m... 58 error: expected '{' before ';' token
One might argue that gcc's message is not as helpful as it can be. Codeblocks OTOH did its job in displaying whatever the compiler in use suggests.
2. You did not add the iomanip library
as it is just an include.
Please buy a decent C++-book and study it thoroughly. For C++ see https://isocpp.org/ (https://isocpp.org/) and https://en.cppreference.com/w/ (https://en.cppreference.com/w/). And please have a look into the links stahta01 suggested.
Thank you.