hello,
I want to get File Name in specific folder with specific extension by using CPP in linux..
example.... suppose Full File Pathname is /data1/test.txt then I want to handle a code with directory /data1/ and extension .txt then code should get file name as "test". this can be achieved by using Java File list function bt dont know about CPP..

Thanks
Sanket

You read all the files with this check "*.txt"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.