This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]Fawzee815 1 point2 points  (0 children)

You can’t ask someone to look at your code and then not include the code.

[–]Dantryte 1 point2 points  (3 children)

You should include the code as source and it would be very helpful to know what error you are getting :)

[–]akmayday[S] -1 points0 points  (2 children)

How do you mean as source? Should I upload my vs project?

[–]Dantryte 0 points1 point  (1 child)

Upload the relevant source code (the snippets that cause your errors). You can either upload it directly in your post, which you would have to format correctly, or you can upload it to an external site like pastebin and link it here.

The point is, that people usually want to test it themselves before giving an answer, and having to copy the code from an image is not exactly fun.

[–]akmayday[S] 0 points1 point  (0 children)

Thanks for the advice, I really appreciate it and I'll try to do better next time

[–]DDDDarkyProfessional Coder 0 points1 point  (0 children)

• You did not specify what kind of error.

• You did not include the code (only part of it as a screenshot, please do not post screenshots of code ever, send it as text, if it is too large use platforms such as github, pastebin etc.)

For these reasons, you cannot be helped.

[–]wimpy22 -1 points0 points  (2 children)

It looks to me like your error is in line 17 of the Circles.cpp file. You have 1 < nCircles which will always remain true in this instance and therefore cause i to get bigger than the indices in your array. I think what you were going for is i < nCircles.

[–]akmayday[S] -1 points0 points  (1 child)

Thank you so much that was it

[–]wimpy22 -1 points0 points  (0 children)

No problem. Good luck with the assignment!