将图像附加到c源代码 [英] attaching image to c source code

查看:75
本文介绍了将图像附加到c源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在c中有一个源代码,我想附加一组图像,这样当它被执行时,图像会在屏幕上显示,并输入enter.please给出一个精确的答案因为我没有得到令人满意的答案。

I have a source code in c and i wanna attach a set of images to it such that when it gets executed images gets displayed on the screen with hit of enter.please give a precise answer b'cause i i don't get satisfactory answer.

推荐答案

以下是有关资源的说明: http://msdn.microsoft.com/en-us/library/7zxb70x7.aspx [ ^ ]。

您可以使用托管c ++执行以下步骤:使用托管C ++中的LoadResource从DLL加载JPEG图像 [ ^ ]。你也应该看看这里: http:// msdn .microsoft.com / zh-CN / library / windows / desktop / ee719660(v = vs.85).aspx [ ^ ]
Here is a description about resources: http://msdn.microsoft.com/en-us/library/7zxb70x7.aspx[^].
And you can follow these steps with managed c++: Load JPEG images from DLL with LoadResource in Managed C++[^]. You should take a look here too: http://msdn.microsoft.com/en-us/library/windows/desktop/ee719660(v=vs.85).aspx[^]


这篇关于将图像附加到c源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆