I am not understanding why I am receiving the error messages undeclared identifiers for initializing unsigned char[512] data or FILE* img? I tried using a uint8_t [512] as well, but received the same error messages. Can someone explain the fault in my program?recover.cError messages

1 Answer 1


I think it because of how you declare an array, it should be like this:

type name[size]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .