Hello guys, I have a problem with my code. When I try to run it (I am using Visual studio 2015) the program brŠµaks.
Can anyone explain to me what am I doing wrong. Here is my code :
Runs fine without it - cpp.sh/4a52x (but you'll obviously have memory leak). I dont know how to proparly remove something like that, someone else will have to chime in on that.
Edit: Running it on visual studio does tell me that the variable s is corrupted, but only after it runs fine.