fstream file directory
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: fstream file directory

  1. #1
    Join Date
    May 2009

    fstream file directory

    how do you right to file in a directory above the directory the executable is in. what argument am i suppose to but into the constructor to get this to work.

  2. #2
    Join Date
    Jul 2002
    Portsmouth. United Kingdom

    Re: fstream file directory

    On Windows, the parent directory is accessed with "../"
    "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
    Richard P. Feynman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)