I must have done something wrong because now I retried it and it worked. Sorry in the meantime I removed the first question, I didnt expect to get an answer so fast.
How else should I edit it? I had a lot of lines to change, it would have taken too much time in the codeblocks gui.