Thread: a copy function

  1. #1
    Registered User
    Join Date
    Sep 2006

    a copy function

    how do you make a function that can copy folders (and al subfolders and files )
    i know how you let the function know what it ahs to copy

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    It is system specific, hallo007. Every operating system has their own way of handling their file system.

    A somewhat portable solution is provided by boost::filesystem library.
    If you are doing this for a specific operating system, the compiler should come with headers to handle it. "windows.h" for windows... something else for linux... something else for mac... etc
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User
    Join Date
    Sep 2006
    i dont really understand booster
    and do you knwo witch header it is for PSP??

  4. #4
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    PSP?? PlayStation Portable?

    You'd better learn some C++ before you start messing with those little devices. And you need a specific compiler to compile for PSP.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  3. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. dynamic memory alloccation & returning objects
    By haditya in forum C++ Programming
    Replies: 8
    Last Post: 04-21-2005, 11:55 PM