J
J
JoJikRe2021-01-13 20:12:14
C++ / C#
JoJikRe, 2021-01-13 20:12:14

How to solve problem in visual studio 2019 c++?

I wrote the code as usual and when I ran everything was fine, but then at the end of the program the window was minimized and in visual studio there was a big cross on one of the lines of the code and an error appeared An exception was thrown at 0x75CB46D2 in MainProgramm.exe: Microsoft C++ exception: std: :out_of_range at memory address 0x010FF428. I reviewed the error code, no, I tried it again and also if I'm new and sorry if the question is too easy).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-01-13
@vabka

std::out_of_range - means that your code accessed an index that is outside of some list (for example)
Cross and line highlight - this studio showed you a specific line on which this error occurred.
Look at the code, debug - then you can find the cause of the error.

H
HcNetp, 2021-01-14
@HcNetp

Try to disable all functions and run the program, then enable one by one and check what exactly does not work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question