was not declared in this scope

Habe ich auch schon probiert. Der kompiler will trotzdem nicht....