当我使用“ get_string”时,我收到此错误消息。我已经包含了
adability.c -lcrypt -lcs50 -lm -o readability
readability.c:9:19: error: initializer element is not a compile-time constant
string text = get_string ("Text: ") ;
^~~~~~~~~~~~~~~~~~~~~
/usr/include/cs50.h:109:25: note: expanded from macro 'get_string'
#define get_string(...) get_string(NULL, __VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~