如何创建自动启动c ++程序 [英] How to create an auto startup c++ program

查看:215
本文介绍了如何创建自动启动c ++程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在c ++中创建一个程序,我想能够有选项让用户在Windows中自动启动。所以当用户启动他的电脑时,Windows会自动启动这个程序。我已经阅读过有关修改注册表或将其放在启动文件夹中的内容,但是最好的干净方法是什么?

I am creating a program in c++, which I want to be able to have the option to have users let it auto start in windows. So when a user starts his computer, windows will auto start this program. I have read stuff about modifying the registry or putting it in the startup folder, but what would be the best "clean" way to do this?

推荐答案

启动文件夹很干净。

Startup folder is clean enough.

让用户可以根据需要删除它。

Gives the user the possibility to remove it if needed.

这篇关于如何创建自动启动c ++程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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