Issue in cpp! | SoloLearn: Learn to code for FREE!


Issue in cpp!

My code works on code block but not here can someone help please? :(

8/3/2018 7:11:13 PM

Comsis Alexis

5 Answers

New Answer


You have some Unicode characters that were pasted into the code from where you copied it from. They aren't visible on the mobile app but are visible on the web platform. Remove these Unicode characters and your code should be fine


Tried compiling it in an online compiler. Error says "stray '\302' in the program". This is a known and discussed issue about character encoding in different IDE's. Most probably you used tab-keys or shift+space while writing code in codeblocks. Remove tabs and try again. Read this if it helps.


Thanks a lot!


Thank you too men yes I've removed tabs and it works well


it is good code exillant