看板 Programming 關於我們 聯絡資訊
※ 引述《QQ29.bbs@bbs.wretch.cc (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
QQ29:我使用的是 VC++ 2005140.113.207.211 10/21 14:19
ImOnLine:你要寫個constructor才能用 im.image(..) 220.135.4.75 10/21 18:09
lightspeed:丟上你的error message和你的code吧140.114.106.106 10/21 22:33
lightspeed:既然都說有compile error140.114.106.106 10/21 22:33
lightspeed:也就一定會有code存在:p140.114.106.106 10/21 22:33
pcalex:看起來你是用GDI 是否沒有正確include 140.92.60.225 10/22 11:51