// A variable is a container with a label that holds data.
void main() {
// This variable is named `someVariableName`
// It contains the value `"a string"`
auto someVariableName = "a string";
// This variable is named `lolol`
// It contains the number `42`
auto lolol = 42;
// Create 2 more variables and assign values to them:
// You can name them whatever you want, and hold any value in them!
// Use `=` to assign a value to a variable.
auto callTheAmbulance = "but not for me";
auto pressF = "for respect";
}
I think it is a bug because I tried the level with the code it didn’t work, but when I changed the language to Python and tweaked the code a bit, it worked.
I mean that it is not like Phyton or Java Script, it is still new and there are still some bugs out there that will be fixed by the staff when they discover them.
It’s experimental, meaning that some features may still be incomplete. Since CPP was tested last year with a few people(Me and a CoCo team member) it’s likely that some areas may have been missed. Feel free to reach out to me with any bugs you find, and I’d love to forward it to the team.