如果正在制作安装应用程序,如何将文件从一个位置移动到另一位置? [英] How can I move files from one location to another if i'm making an installation application?

查看:88
本文介绍了如果正在制作安装应用程序,如何将文件从一个位置移动到另一位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始使用C ++(SDL)进行游戏编程,我发现在朋友的计算机上手动安装游戏非常耗时,因此我想制作一个安装程序.
现在我遇到的问题是我不知道如何像安装程序那样将文件移动/写入到特定位置.
我应该使用哪个库,或者您对教程网站或其他种类有什么建议?

I just started with game programming in C++(SDL) and i''m finding it timeconsuming to manually install my game on friends'' computers, so I want to make an installer application.
Now the problem (that i know of) i''m having with this is that I don''t know how to move/write files to a specific location as an installer usually do.
What library should I use or do you have any tips in terms of tutorial websites or anything of the sort?

推荐答案

如果您使用的是Visual Studio,请查看 [ NSIS [ Inno设置 [ ^ ].
If you are using Visual Studio take a look at this[^].

If not, it might help if you told us what development environment you are using.

If all else fails, you can use one of the many Opensource installer creators, such as NSIS[^] or Inno Setup[^].


这篇关于如果正在制作安装应用程序,如何将文件从一个位置移动到另一位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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