c++ - system call to copy files -


How can I create a system call on C ++ which copies one file to another file?

You can use the function

  #include & lt ; Cstdlib & gt; ... std :: system ("cp to.txt to.txt");  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -