N
N
Nik_Haker2015-08-18 18:26:08
Programming
Nik_Haker, 2015-08-18 18:26:08

How to move a file in c++?

You need to move the exe file (program). It is necessary that it simply silently moves - without displaying messages, etc. Please tell me how this can be done in c++ and, if possible, with code.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Martyanov, 2015-08-18
@Nik_Haker

MoveFile/MoveFileEx, see MSDN for examples. Although with your nickname, you must remember it by heart and not ask such questions.

T
Trrrrr, 2015-08-19
@Trrrrr

Even easier:
www.cplusplus.com/reference/cstdio/rename
rename

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question