Invalid Initilizer
응답
19. 6. 7 오전 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 투표)
RE: Invalid Initilizer
응답
19. 6. 7 오전 7:39 as a reply to 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 투표)