+ 11

[C] Code Playground Problem

Whenever I type the words 'using namespace', 'template', 'bool' etc etc.. in the C section of the playground, I see them getting highlighted. This can cause a lot of confusion and should be fixed ASAP

26th Jan 2018, 8:32 AM
Cool Codin
Cool Codin - avatar
4 Answers
+ 8
There was possible overlap due to the fact both C and C++ use the GCC compiler. It should be noted that standard C introduced the bool datatype in C99 in the header stdbool.h (Have not tested to see if it's included here). The others I agree shouldn't be there.
26th Jan 2018, 3:06 PM
Ace - avatar
+ 6
@Cool Codin... This would be great feedback to send directly to SoloLearn via email ( [email protected] ) to insure they are made aware of the bug. Thanks for sharing the information here as well.
26th Jan 2018, 2:29 PM
David Carroll
David Carroll - avatar
+ 5
That is because C language in sololearn playground isn't really finished so far... We have to be patient ;)
26th Jan 2018, 9:53 AM
Paweł Karaś
Paweł Karaś - avatar
+ 5
I think it is because they used C++ syntactic coloration for C, to have less work to do (which can be understandable)
27th Jan 2018, 10:19 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar