File Processing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sha05uec
    New Member
    • Jun 2007
    • 1

    File Processing

    i installed the simulator for CBE which creates Fedora core as its working environment.I am completely new to that environment. I made a program to open a file in C . The file is created but not in the same directory as it is with windows.
    How to force that file in same directory.
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by sha05uec
    i installed the simulator for CBE which creates Fedora core as its working environment.I am completely new to that environment. I made a program to open a file in C . The file is created but not in the same directory as it is with windows.
    How to force that file in same directory.
    I'm sorry, I don't understand your question. What type of file is it looking for? Can you point the program to a specific file? You can alway use the 'find' command in Linux to pinpoint the location of the file, and then tell the program to look there... Paths are very different beween M$ and *Nix systems (*Nix doesn't have a C: drive, etc...). (Although, you might try the directory the program is installed it - it might just be assuming the local directory)

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      Originally posted by sha05uec
      i installed the simulator for CBE which creates Fedora core as its working environment.I am completely new to that environment. I made a program to open a file in C . The file is created but not in the same directory as it is with windows.
      How to force that file in same directory.
      Perhaps you could post the relevant code?

      Comment

      Working...