printf输出字符
程序代码:#include<stdio.h>
#include<stdlib.h>
main()
{
printf{"************\0");
printf{"F YOU!\0");
printf{"************\0");
system("pause");
}
= = 纯小白的问题. 只是想输出字符串.. 不知道.为什么.总是有问题.. 看了一下书. 可是又找不出问题在哪.
求助. 用dev-c+. 看的是c的教 程. 是不是很悲剧..
下面是error information.
C:\Users\fen\Documents\未命名1.cpp In function `int main()':
7 C:\Users\fen\Documents\未命名1.cpp expected `;' before '{' token
13 C:\Users\fen\Documents\未命名1.cpp [Warning] statement is a reference, not call, to function `printf'
13 C:\Users\fen\Documents\未命名1.cpp expected `}' at end of input









哪有这样的括号啊?“{
括号不是为了好看
