Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Help needed to Traverse a file from the cdt project

I need to show the focus on a text file inside a C/C++ project. I have created a project structure something like this, so i wanted to set focus on def222.txt PROGRAMATICALLY(i know this file name and i am sure this file is exist).

to do this i need to traverse and focus on that text file(def222.txt). Can any body give a code snippet to traverse a file inside C/C++ project.

Example1
     + includes
     - src
        + form.h
        + form.c
           Makefile.am
           abc111.txt
           def222.txt
           ght333.txt
      + imaget
        autogen.sh
        Makefile.sh

Back to the top