错误消息:"undefined reference to `print",不知道它是什么?


# include <stdio.h>
    main()
    {
          int name, age, siblings, children;
          printf ("Hello my name is A.I, what is your name?n");
          scanf("%d", &name);
          print ("Hello", name,"How old are you?n");
          scanf("%d", &age);
          printf("Do you have any brothers and sisters?n");
          scanf("%d", &siblings);
          printf("and how many children do you have?n");
          scanf("%d", &children);
          printf("So your name isn", name, "you are", age, "you have", siblings, "brothers/sisters and have", children, "childrenn");
          getchar();
    }

这是我的第一个程序,如果我的错误很简单,我很抱歉,但我无法弄清楚我做错了什么??

stdio.h 中的打印功能printf

相关内容

最新更新