作者irror (狂岚焰)
看板Programming
标题Re: 如何才可再class 宣告一个bimap物件?
时间Sun Oct 21 13:12:56 2007
※ 引述《[email protected] (NCTU rookie)》之铭言:
: 我想法上是想要达到这样
: class T
: {
: public:
: Bitmap image;
: };
: main里面是
: T im;
: im.image(L"xxx.jpg");
: graphic.DramImage(&image,0,0,image.GetWidth(),image.GetHeight());
不知道你的语言与工具是什麽
使用 C++ 的语法的可能性有: C++(BCB、VC)、C#等...
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 123.193.129.87
1F:推 QQ29:我使用的是 VC++ 2005140.113.207.211 10/21 14:19
2F:推 ImOnLine:你要写个constructor才能用 im.image(..) 220.135.4.75 10/21 18:09
3F:推 lightspeed:丢上你的error message和你的code吧140.114.106.106 10/21 22:33
4F:→ lightspeed:既然都说有compile error140.114.106.106 10/21 22:33
5F:→ lightspeed:也就一定会有code存在:p140.114.106.106 10/21 22:33
6F:推 pcalex:看起来你是用GDI 是否没有正确include 140.92.60.225 10/22 11:51