0
I have an error in a problem and I don't know what the correct answer is
I have a problem in "introduction to c++" there is a question that I don't know what it is, in dynamic memory there is a question where you have to fill in the blanks to assign an array of strings "count" size, and then delete it from memory and it gives the following ______ * arr = ____ string[* this is where the problem occurs I don't know what to put here *]; ______ [] _____;
3 Réponses
+ 5
here's a tip: after the first fail, you get access to the comments at the top bar. sometimes people leave hints there.
for that problem, one hint is dynamic array is created using the new keyword and deleted using delete[] ... also count is a variable, so use it like this: string [count]
+ 1
Bob_Li Thanks, I have SoloLearn in Spanish and it said "Cuenta" (Cuenta). I would type in the word and it wouldn't work, but when I typed "Count" it worked.
0
José Pablo
it seems like a bug.
variable names shouldn't be translated in the description.
If the automated checker is expecting 'Count', it shouldn't have used 'Cuenta'. I can see where it would be impossible to pass the test in this case...