Invalid Initilizer
Antwort
07.06.19 06: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 Stimmen)
RE: Invalid Initilizer
Antwort
07.06.19 07:39 als Antwort auf 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 Stimmen)