如何创建位图?

编程入门 行业动态 更新时间:2024-10-26 16:22:09
本文介绍了如何创建位图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个很大的问题。我有一个类似于 的数据文件 - : ..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.

更多推荐

如何创建位图?

本文发布于:2023-10-23 18:48:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1521706.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:位图

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!