jul.cpp: In function ‘BOOL getUserMessage(char*)’:
jul.cpp:17:38: error: too many arguments to function ‘char* strcpy(char*, const char*)’
strcpy(arg, szTemp, strlen(szTemp));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from jul.cpp:1:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: declared here
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
jul.cpp: In function ‘int main()’:
jul.cpp:25:25: error: too few arguments to function ‘BOOL getUserMessage(char*)’
nRet = getUserMessage();
^
jul.cpp:10:6: note: declared here
BOOL getUserMessage(char* arg)
^
jul.cpp: In function ‘BOOL getUserMessage(char*)’:
jul.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", szTemp);
^