0
my code isn't running on dev cpp why?
11 79[Error] in C++98 'pikachuAttacks' must be initialized by constructor, not by '{...}' https://www.sololearn.com/compiler-playground/cINOO7CueVlO this code works finely in sololearn's code playground but in dev cpp it gives this error. why it's working in some code editor and some not?? and how can i fix it
2 Answers
+ 3
I was just guessing maybe devcpp needs to be configured to enable C++11 features?
0
Lalala The link isn't working. Pls try like this: tap "+", then "Code", and select your code.