#include "stdafx.h"
#include<stdio.h>
#define A 40
#define B "我爱你"
#define C "你会等我吗"
#define D "我在努力"
void e(void);
int main(void)
{
e();
printf("%s\n", B);
printf("%s\n", C);
printf("%s\n", D);
e();
}
void e(void)
{
int e;
for(e = 1; e < A; e++)
putchar("*\n");
}
-------------------Configuration: fdsfsdf - Win32 Debug--------------------
Compiling...
fdsfsdf.cpp
D:\迅雷下载\MyProjects\fdsfsdf\fdsfsdf.cpp(18) : warning C4508: 'main' : function should return a value; 'void' return type assumed
D:\迅雷下载\MyProjects\fdsfsdf\fdsfsdf.cpp(23) : error C2664: '_flsbuf' : cannot convert parameter 1 from 'char [3]' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast