pDC->Rectangle(CRect(0,0,100,100))直接写成pDC->Rectangle(0,0,100,100)不就行了,费那些劲干嘛还加个CRect ?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 14:15:06
pDC->Rectangle(CRect(0,0,100,100))直接写成pDC->Rectangle(0,0,100,100)不就行了,费那些劲干嘛还加个CRect?pDC->Rectangle(

pDC->Rectangle(CRect(0,0,100,100))直接写成pDC->Rectangle(0,0,100,100)不就行了,费那些劲干嘛还加个CRect ?
pDC->Rectangle(CRect(0,0,100,100))
直接写成pDC->Rectangle(0,0,100,100)不就行了,费那些劲干嘛还加个CRect ?

pDC->Rectangle(CRect(0,0,100,100))直接写成pDC->Rectangle(0,0,100,100)不就行了,费那些劲干嘛还加个CRect ?
怎么不行?这函数重载!看清楚参数!