943,756 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 1281
  • C RSS
Apr 2nd, 2008
0

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

Expand Post »
how do i use a .txt file in C
like read and save form and into it...
any help will be good
thenks
Reputation Points: 9
Solved Threads: 0
Light Poster
dv1r is offline Offline
38 posts
since Jan 2008
Apr 2nd, 2008
0

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

Once you open the stream, it's basically the same as working with stdin and stdout. What problems are you having with your code?
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Apr 2nd, 2008
0

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

im just using turboC and i have no idea what stdin and stdout are...
im not too good at programing... =\
Reputation Points: 9
Solved Threads: 0
Light Poster
dv1r is offline Offline
38 posts
since Jan 2008
Apr 2nd, 2008
0

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

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.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Apr 2nd, 2008
1

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

http://www.cprogramming.com/tutorial/cfileio.html

Read It .It will clear every thing.
Reputation Points: 188
Solved Threads: 44
Posting Pro
Majestics is offline Offline
554 posts
since Jul 2007
Apr 3rd, 2008
0

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

WOW thanks alot man that really helped me
do you have something like that on how to read/write an microsoft access databace??
Reputation Points: 9
Solved Threads: 0
Light Poster
dv1r is offline Offline
38 posts
since Jan 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Help with macros
Next Thread in C Forum Timeline: Make Files Question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC