我有一个很大的问题。我有一个类似于 的数据文件 - : ..1.5 .9 -1 .2 .5 ...... ..2 .9 .1 .4 .3 -1 ...... ..2 .4 .5 .7 .6 .2 ..... 。 ........ ........ 现在我要创建使用C ++的这个位图,我真的不知道知道怎么做了吗?有人可以告诉我一个方法来解决这个问题 或至少指向我正确的方向吗? 谢谢, Prashant
Hi, I have a huge problem. I have a data file which looks something like this -: ..1 .5 .9 -1 .2 .5 ...... ..2 .9 .1 .4 .3 -1 ...... ..2 .4 .5 .7 .6 .2 ...... ........ ........ Now I have to create a bitmap out of this using C++ and I really dont know how to do it? Could someone please tell me a way to go about this or atleast point me in the right direction? Thanks, Prashant
推荐答案Prashant写道: Prashant wrote: 我有一个很大的问题。我有一个类似于的数据文件 - : .1 .5 .9 -1 .2 .5 ...... .2 .9 .1 .4 .3 -1 ...... .2 .4 .5 .7 .6 .2 ...... ....... ....... 现在我必须使用C ++创建一个位图,我真的不知道该怎么做?有人可以告诉我一个方法来解决这个问题吗?或至少指出我正确的方向? I have a huge problem. I have a data file which looks something like this -: .1 .5 .9 -1 .2 .5 ...... .2 .9 .1 .4 .3 -1 ...... .2 .4 .5 .7 .6 .2 ...... ....... ....... Now I have to create a bitmap out of this using C++ and I really dont know how to do it? Could someone please tell me a way to go about this or atleast point me in the right direction?
什么是位图?根据你的答案,你应该去 comp.graphics.algorithms或comp.os.< your_os_here> .programmer。 C ++ _language_(这个新闻组的主题)没有定义任何 bitmaps。有位字段和位集,有地图,但没有 位图,对不起。 Victor
What''s a bitmap? Depending on your answer, you should go to either comp.graphics.algorithms or comp.os.<your_os_here>.programmer. C++ _language_ (the subject of this newsgroup) does not define any "bitmaps". There are bit fields and bitsets, there are maps, but no bitmaps, sorry. Victor
" Victor Bazarov" <五******** @ comAcast>在消息中写道 新闻:Dw **************** @ newsread1.dllstx09.us.to.v erio ... "Victor Bazarov" <v.********@comAcast> wrote in message news:Dw****************@newsread1.dllstx09.us.to.v erio... Prashant写道: Prashant wrote: 我有一个很大的问题。我有一个类似于的数据文件 - : .1 .5 .9 -1 .2 .5 ...... .2 .9 .1 .4 .3 -1 ...... .2 .4 .5 .7 .6 .2 ...... ....... ....... 现在我必须使用C ++创建一个位图,我真的不知道该怎么做?有人可以告诉我一个方法来解决这个问题吗?或者至少让我指向正确的方向? I have a huge problem. I have a data file which looks something like this -: .1 .5 .9 -1 .2 .5 ...... .2 .9 .1 .4 .3 -1 ...... .2 .4 .5 .7 .6 .2 ...... ....... ....... Now I have to create a bitmap out of this using C++ and I really dont know how to do it? Could someone please tell me a way to go about this or atleast point me in the right direction?
什么是位图?
What''s a bitmap?
std :: map< bit> .... 我想。 ^ _ ^ - Unforgiven
std::map<bit> .... I think. ^_^ -- Unforgiven
Unforgiven写道: Unforgiven wrote: " Victor Bazarov" <五******** @ comAcast>在消息中写道新闻:Dw **************** @ newsread1.dllstx09.us.to.v erio ... "Victor Bazarov" <v.********@comAcast> wrote in message news:Dw****************@newsread1.dllstx09.us.to.v erio... Prashant写道: Prashant wrote: 我有一个很大的问题。我有一个类似于的数据文件 - : .1 .5 .9 -1 .2 .5 ...... .2 .9 .1 .4 .3 -1 ...... .2 .4 .5 .7 .6 .2 ...... ....... ....... 现在我必须使用C ++创建一个位图,我真的不知道该怎么做?有人可以告诉我一个方法来解决这个问题吗?或者至少让我指向正确的方向? 什么是位图? I have a huge problem. I have a data file which looks something like this -: .1 .5 .9 -1 .2 .5 ...... .2 .9 .1 .4 .3 -1 ...... .2 .4 .5 .7 .6 .2 ...... ....... ....... Now I have to create a bitmap out of this using C++ and I really dont know how to do it? Could someone please tell me a way to go about this or atleast point me in the right direction? What''s a bitmap?
std :: map< bit>
std::map<bit>
错误:''有点''未定义 ... 我认为。 ^ _ ^
error: ''bit'' undefined ... I think. ^_^
你_think_?幸运的混蛋!我写程序。
You _think_? Lucky bastard! I write programs.
更多推荐
如何创建位图?
发布评论