how do i save a .txt file from my programe?

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2008
Posts: 36
Reputation: dv1r is an unknown quantity at this point 
Solved Threads: 0
dv1r's Avatar
dv1r dv1r is offline Offline
Light Poster

how do i save a .txt file from my programe?

 
0
  #1
Apr 2nd, 2008
how do i use a .txt file in C
like read and save form and into it...
any help will be good
thenks
wana get high??
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,740
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 739
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: how do i save a .txt file from my programe?

 
0
  #2
Apr 2nd, 2008
Once you open the stream, it's basically the same as working with stdin and stdout. What problems are you having with your code?
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 36
Reputation: dv1r is an unknown quantity at this point 
Solved Threads: 0
dv1r's Avatar
dv1r dv1r is offline Offline
Light Poster

Re: how do i save a .txt file from my programe?

 
0
  #3
Apr 2nd, 2008
im just using turboC and i have no idea what stdin and stdout are...
im not too good at programing... =\
wana get high??
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,740
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 739
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: how do i save a .txt file from my programe?

 
0
  #4
Apr 2nd, 2008
You'd best get a book on C and read it, because it sounds like you really want a tutorial rather than the kind of specific help one finds on forums such as this one. By the way, printf uses stdout and scanf uses stdin.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 108
Reputation: Majestics is an unknown quantity at this point 
Solved Threads: 7
Majestics Majestics is offline Offline
Junior Poster

Re: how do i save a .txt file from my programe?

 
1
  #5
Apr 2nd, 2008
http://www.cprogramming.com/tutorial/cfileio.html

Read It .It will clear every thing.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 36
Reputation: dv1r is an unknown quantity at this point 
Solved Threads: 0
dv1r's Avatar
dv1r dv1r is offline Offline
Light Poster

Re: how do i save a .txt file from my programe?

 
0
  #6
Apr 3rd, 2008
WOW thanks alot man that really helped me
do you have something like that on how to read/write an microsoft access databace??
wana get high??
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC