inf infinite 无穷大

                                                          

// windows_play.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"
#include <Windows.h>
#include <MMSystem.h>
#include <map>


//4行2列
static int signal_energy[4][2] =
{ {1,0},{2,1},{3,2},{4,3} };


int main()
{
	int sum = 0;
	float  i = 10;
	while (1)
	{

#if 0
		for (int i = 0; i < 4; i++)
		{
			sum = signal_energy[i][1] + sum;
		}
		printf("sum is %d\n",sum);
		break;
#endif  
		i = i / 0;
		printf("i = %f\n",i);

	}
	while (1);
    return 0;
}

  

猜你喜欢

转载自www.cnblogs.com/nowroot/p/12432730.html
inf