Computer/초보자를 위한 C 언어 300제

046. 데이터형 정의하기

Theo Kim 2010. 11. 22. 04:27
#include <stdio.h>

#define true 1
#define false 0

typedef int bool;

main()
{
	bool bCondition;

	bCondition = true;

	if( bCondition == true )
	{
		printf( "조건식은 true입니다." );
	}
}