C++ Question

Discussion in 'Programming & Scripting' started by bungiekiller980, Jan 15, 2009 with 7 replies and 258 views.

  1. bungiekiller980

    bungiekiller980 Newbie

    Messages:
    28
    Ratings:
    1
    How do i make a c++ program or what ever you would call it, open a folder. Ex. how could i make it open a folder (c\program_files\(file here)). Please help im trying to make a password protected folder from c++. Please explain in detail i am fairly new to c++. Your help is greatly appreciated.

     
  2. confused5

    confused5 Enthusiast

    Messages:
    766
    Ratings:
    75
    It's going to involve some Windows library since folder I/O isn't part of C++. I'll see what i can find for you if you haven't already gotten your answer
    Found a couple tutorials on the programming site i like. Look through these and see if it's what you're looking for:
    [Click here to view the link]
    [Click here to view the link]
     
  3. GoldBl4d3

    GoldBl4d3 Retired Retired

    Messages:
    3,758
    Ratings:
    1,328
    IO class is with c++, unless your talking about somthing else
     
  4. confused5

    confused5 Enthusiast

    Messages:
    766
    Ratings:
    75
    File I/O is part of the C++ standard library but getting/setting folder properties is system dependent so he has to use some library connected with windows. so yeah it's something else
     
  5. OP
    bungiekiller980

    bungiekiller980 Newbie

    Messages:
    28
    Ratings:
    1
    Thanks you all for that and to add on to what i said do yall know a good compiler for linux i am using linux, well i am dual booting vista and linux with a ubuntu distro.
     
  6. confused5

    confused5 Enthusiast

    Messages:
    766
    Ratings:
    75
  7. OP
    bungiekiller980

    bungiekiller980 Newbie

    Messages:
    28
    Ratings:
    1
    thanks again all is appreciated (sorry bad speller)

    thanks for the cross platform compiler confused
     
  8. confused5

    confused5 Enthusiast

    Messages:
    766
    Ratings:
    75
    No problem, post back if you have any more problems