D
D
Denis Kulikov2021-10-12 14:33:59
C++ / C#
Denis Kulikov, 2021-10-12 14:33:59

C++ code won't run, what's wrong?

I just started to study, I started writing the first code and then there is such an error
61657267a99db176800198.png
61657272eb333157294263.png
Help please

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Antony, 2021-10-12
@RiseOfDeath

Visual Studio cannot run your program because she stupidly has nothing to run - she did not compile. Read what is written to you in the output. It will be clear and unequivocally written where you are wrong (at least in relation to your code, this will be 100% so)

R
rPman, 2021-10-12
@rPman

at the bottom of the error window, scroll to the right the line where it says

cl command line error D8027: cannot execute "C:\Program Files....

the path clearly refers to some necessary utility in the Visual Studio installation folder, which means it is not installed correctly, you need to run the installer again and select repair (repair)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question