Compiler error. | Sololearn: Learn to code for FREE!
0

Compiler error.

write a program in code::blocks 17.12 the pc is working fine. when porting to the web in a sandbox, it generates a compiler error. what can be done?

21st Jan 2019, 9:41 AM
Kirill Shlenkin
Kirill Shlenkin - avatar
4 Answers
+ 3
I cleaned up the code a bit, and somehow it ended up compiling. By the way, there is little benefit to using a class here, and isTrimorph() can be overloaded to separate the cases of single value and range. https://code.sololearn.com/c8ZLpEe5rdQh/#cpp
21st Jan 2019, 2:26 PM
Zen
Zen - avatar
0
Can you please share the code and give what compiler error you get?
21st Jan 2019, 11:35 AM
Théophile
Théophile - avatar
21st Jan 2019, 12:27 PM
Kirill Shlenkin
Kirill Shlenkin - avatar
0
Oh, great! I'm guessing it's some hidden symbols or spaces. Costs of the copy/paste method. And thanks for the code, I'm just learning to program using classes.
21st Jan 2019, 4:36 PM
Kirill Shlenkin
Kirill Shlenkin - avatar