[英]Need Help Compiling C Source Code
#include <stdio.h>
int main(void)
{
char *s = "Jordan";
printf("hello, %s\n, s");
}
Does anyone know a way that I can get this native C source code to work?有谁知道我可以让这个本机 C 源代码工作的方法吗? I'm having trouble getting it to compile and run.
我无法编译和运行它。
Your second quote is in the wrong place.你的第二个报价是在错误的地方。 Try:
尝试:
printf("hello, %s\n", s);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.