Thread: Search for a file in C

  1. #1
    Registered User
    Join Date
    Nov 2017
    Posts
    3

    Search for a file in C

    Hi! Can anyone help me where to start. I'd like to create a program. Develop a program for finding a file on a computer with a specified name (The program must take into account the possibility of searching for a part of the filename and the extension, the result is displayed on the screen and in the file)

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    38,302
    There are examples of how to walk the filesystem tree in the FAQ.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2017
    Posts
    3
    Quote Originally Posted by Salem View Post
    There are examples of how to walk the filesystem tree in the FAQ.
    could you give me a link?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    38,302
    You mean the words "C and C++ FAQ" across the top aren't a big enough clue.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Nov 2017
    Posts
    3
    Quote Originally Posted by Salem View Post
    You mean the words "C and C++ FAQ" across the top aren't a big enough clue.
    i don't know where is it. I found only this
    C File I/O Tutorial - Cprogramming.com

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    38,302
    Observation not your strong point then
    FAQ - Cprogramming.com
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Search for name in File
    By Dannibe7 in forum C Programming
    Replies: 6
    Last Post: 12-01-2011, 01:35 PM
  2. C file search
    By na_renu in forum C Programming
    Replies: 1
    Last Post: 05-04-2010, 08:05 AM
  3. Search through file
    By BlackSlash12 in forum C++ Programming
    Replies: 13
    Last Post: 02-23-2009, 12:19 AM
  4. Search for a file
    By Moony in forum C Programming
    Replies: 5
    Last Post: 06-17-2006, 02:06 PM
  5. file search app
    By bigSteve in forum C Programming
    Replies: 1
    Last Post: 06-13-2003, 04:53 AM

Tags for this Thread