Invalid Initilizer
Risposta
07/06/19 6.40

Hello guys i have a problem with my code. in the one image i give the string with a function an get an error. if i reinscribe the string directly i have no mistake. why?

0 (0 Voti)
RE: Invalid Initilizer
Risposta
07/06/19 7.39 come risposta a Michael Österreicher.

Hi Michael,

You're trying to initialize stringTestBuffer with another array variable, which is not a constant expression. If you want to copy the contents of the first string into the second, you'll need to use strcpy.

Regards

Saeid

0 (0 Voti)