0
Hello everyone. The data type "string" doesn't get coloured in the C++ program and this affects my code. Can someone help meāļø
2 Answers
+ 3
In the Sololearn C++ editor, string does not get highlighted for me either, but it works. There must be some other problem.
You might hunt for an invisible extra character. I don't know whether you pasted the code from outside of Sololearn, but sometimes when you do, mysterious nonprintable characters get embedded in the spaces. In that case you have to delete and retype the spaces.
This is only speculation. If you wish for further help, then please post a link to your code so that I and others may help troubleshoot.
+ 2
Could you share your code so that we find out what the issue is and we try to solve it?
If you donāt mind