https://msdn.microsoft.com/library/7ffyb1kb%28v=vs.110%29.aspx
两个构造技术的示例
下面简要的示例演示构造钢笔对象两个方法:
// One-stage CPen myPen1(PS_DOT, 5, RGB(0,0,0)); // Two-stage: first construct the pen CPen myPen2; // Then initialize it if(myPen2.CreatePen(PS_DOT, 5, RGB(0,0,0))) { // Use the pen }
Copyright @ 2024 liuxiaozhao Powered by .NET 9.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster