A bug in Ingredient Identification for C++

Basically it doesn’t work
My code:

// 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";
}

~ Orb

1 Like

I don’t do C++ that much, but maybe you should remove the „auto callTheAmbulance“ and the other auto. In python you would just do:

Whatever you want to call it = 200 or any number

Mumbo_6

1 Like

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.

2 Likes

It’s not JavaScript it’s C++

1 Like

Woopsies sorry… 20 chars

1 Like

Try asking @Chaboi_3000 or @Deadpool198.

2 Likes

C++ is still experimental, so there are some little bugs with this language in some levels.

Andrei

2 Likes

SO you mean that it was not fully added in?

1 Like

It was recently added, and it’s for Subscribers only.

2 Likes

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.

Andrei

3 Likes

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.

5 Likes