Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > about fwrite( )

Reply
Thread Tools

about fwrite( )

 
 
FrancisC
Guest
Posts: n/a
 
      10-14-2003
"Mark McIntyre" <> ???
news: ???...
> On Tue, 14 Oct 2003 08:09:40 +0800, in comp.lang.c , "FrancisC"
> <> wrote:
>
> >To make all the "things" binary, am I just need to use fwrite( ) all the
> >times but not using fprintf() ?

>
> fwrite() dumps a block of memory to file. fprintf() prints formatted
> data to a file, which might be text, or might not. Which do you want
> to do?


Actually, I want to write a program for Palm. And the data are loaded in the
memory of Palm.


 
Reply With Quote
 
 
 
 
Mike Wahler
Guest
Posts: n/a
 
      10-14-2003
"FrancisC" <> wrote in message
news:bmgj35$2mjf$...
> "Mark McIntyre" <> ???
> news: ???...
> > On Tue, 14 Oct 2003 08:09:40 +0800, in comp.lang.c , "FrancisC"
> > <> wrote:
> >
> > >To make all the "things" binary, am I just need to use fwrite( ) all

the
> > >times but not using fprintf() ?

> >
> > fwrite() dumps a block of memory to file. fprintf() prints formatted
> > data to a file, which might be text, or might not. Which do you want
> > to do?

>
> Actually, I want to write a program for Palm. And the data are loaded in

the
> memory of Palm.


Well, why didn't you say so?

IMO everything you need is here:
http://www.palmone.com/us/developers/

About halfway down the page, you'll find:

===========================
Create applications and add-ons for any Palm Powered device, including
licensee handhelds and communicators. This is also the place to learn about
the Palm OS platform and the strength of the growing Palm Economy.

Links:

Palm OS Developers
Getting Started
Platform Technologies
Tools & Downloads
Documentation
Support & Resources
Training
Certification
Developer Program
Resource Pavilion

===========================

BTW I found this in seconds with Google.

If you decide you still want to use C to write
your programs, we can help you with the (standard)
C parts. The platform-specific parts which I'm
sure will also be needed are not topical here, but
you can get much help with that from that same site.

Oh, that'll be fifty cents for the directory assistance.

HTH,
-Mike


 
Reply With Quote
 
 
 
 
FrancisC
Guest
Posts: n/a
 
      10-14-2003

"Mike Wahler" <> ¦b¶l¥ó
news:LcRib.628$ k.net ¤¤¼¶¼g...
> "FrancisC" <> wrote in message
> news:bmgj35$2mjf$...
> > "Mark McIntyre" <> ???
> > news: ???...
> > > On Tue, 14 Oct 2003 08:09:40 +0800, in comp.lang.c , "FrancisC"
> > > <> wrote:
> > >
> > > >To make all the "things" binary, am I just need to use fwrite( ) all

> the
> > > >times but not using fprintf() ?
> > >
> > > fwrite() dumps a block of memory to file. fprintf() prints formatted
> > > data to a file, which might be text, or might not. Which do you want
> > > to do?

> >
> > Actually, I want to write a program for Palm. And the data are loaded in

> the
> > memory of Palm.

>
> Well, why didn't you say so?
>
> IMO everything you need is here:
> http://www.palmone.com/us/developers/
>
> About halfway down the page, you'll find:
>
> ===========================
> Create applications and add-ons for any Palm Powered device, including
> licensee handhelds and communicators. This is also the place to learn

about
> the Palm OS platform and the strength of the growing Palm Economy.
>
> Links:
>
> Palm OS Developers
> Getting Started
> Platform Technologies
> Tools & Downloads
> Documentation
> Support & Resources
> Training
> Certification
> Developer Program
> Resource Pavilion
>
> ===========================
>
> BTW I found this in seconds with Google.
>
> If you decide you still want to use C to write
> your programs, we can help you with the (standard)
> C parts. The platform-specific parts which I'm
> sure will also be needed are not topical here, but
> you can get much help with that from that same site.
>
> Oh, that'll be fifty cents for the directory assistance.
>
> HTH,
> -Mike


Thank you
All guys here are so great and helpful


 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a
 
      10-14-2003
On Tue, 14 Oct 2003 18:09:47 +0800, in comp.lang.c , "FrancisC"
<> wrote:

>"Mark McIntyre" <> ???
>news: ???...
>> On Tue, 14 Oct 2003 08:09:40 +0800, in comp.lang.c , "FrancisC"
>> <> wrote:
>>
>> >To make all the "things" binary, am I just need to use fwrite( ) all the
>> >times but not using fprintf() ?

>>
>> fwrite() dumps a block of memory to file. fprintf() prints formatted
>> data to a file, which might be text, or might not. Which do you want
>> to do?

>
>Actually, I want to write a program for Palm. And the data are loaded in the
>memory of Palm.


Yes, but C doesn't care about that. Presumably you've used a
palm-specific function to open a "file" from palm memory, then you
still have to ask "am I writing formatted data, or a chunk of memory?"

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57