LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2007, 08:55 PM   #1
milky.way
LQ Newbie
 
Registered: Nov 2007
Posts: 13

Rep: Reputation: 0
creating or deleting files in cpp


Hi ,
I want to know whether there is a way to create/delete a file in cpp ;
i am not talking about openning and closing streams ,rather i mean creating a non-existing file or deleting existing one !

Thanx .
 
Old 11-27-2007, 03:17 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You can use creat() and remove()
 
Old 11-27-2007, 05:56 PM   #3
milky.way
LQ Newbie
 
Registered: Nov 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Hi ,
can you be more informative .. what class ? what object?
 
  


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
gcc header files and cpp files? EchO Linux - Software 3 03-01-2005 01:14 AM
compiling .h and .cpp files with g++ arnab_be Linux - Newbie 2 03-03-2004 02:23 PM
Problems when trying to compile cpp files using qt headers siphiuel Linux - Software 2 08-12-2003 04:41 AM
Problems when trying to compile cpp files using qt headers siphiuel Linux - Software 2 08-10-2003 07:10 PM
deleting orphan files and creating soft links cuss Linux - General 6 02-24-2003 09:43 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:49 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