LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2017, 12:32 AM   #1
hala.najjar
LQ Newbie
 
Registered: Dec 2017
Posts: 1

Rep: Reputation: Disabled
c++ list a files with a certain name with all possible extension


i need a help to write code in c++ to list a files with a certain name with all possible extension.
and then save these files in other file in other files
 
Old 12-16-2017, 09:29 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by hala.najjar View Post
i need a help to write code in c++ to list a files with a certain name with all possible extension. and then save these files in other file in other files
And we'll be glad to help you. The first step in that is for you to post what **YOU** have written/done/tried on your own, and tell us where you're stuck. But we WILL NOT write your code (or do your homework) for you. Read the "Question Guidelines" link in my posting signature.

There are THOUSANDS of sample C programs you can find online to help get you started; begin there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using ls to list filenames without extension. stf92 Linux - Desktop 22 12-10-2017 05:31 AM
Need bash script to list files, drop extension and dump to file talwar_ Programming 10 06-03-2011 09:18 AM
how to get the list of files with a certain extension in a folder ? aryan1 Programming 2 09-03-2009 02:12 PM
List files that don't have a certain extension swatward Linux - Newbie 5 09-09-2007 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration