[求助]一个小问题
#include "stdafx.h"
#include <iostream.h>
main()
{
struct employee
{
char employee_num;
double salary;
};
struct employee a[3];
a[0].employee_num=9091;
a[0].salary=85000;
a[1].employee_num=1026;
a[1].salary=66000;
a[2].employee_num=3908;
a[2].salary=55000;
cout<<"Employee Number Salary"<<"\n";
for (int i;i=0;i<=3,i++)
{
cout<<a[i].employee_num<<" "<<a[i].salary<<"\n";
}
}
为什么程序执行到cout<<"Employee Number Salary"<<"\n";
就停止了呢?