a copy function

This is a discussion on a copy function within the C++ Programming forums, part of the General Programming Boards category; how do you make a function that can copy folders (and al subfolders and files ) i know how you ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    70

    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
    Location
    Portugal
    Posts
    7,460
    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. http://www.boost.org.
    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
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    Posts
    70
    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
    Location
    Estonia
    Posts
    2,318
    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, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21