that is kinda what I did, I just would parse out the individual words one at
a time, then when I got it back I would allocate the room. I appreciate the
help, thanx again.
bill
"Richard M. Hartman" <[EMAIL PROTECTED]> wrote in message
news:LYRIS-45725-91949-2002.05.29-10.43.36--wlalexander#[EMAI
> Anonymity? His name was on the posting ...
Been there, done that. Does anyone else want to flog me... please, feel
free. :) Again, my apologies.
Craig "Part-time net cop and pop psychologist... Call ahead for
appointments..."
--
For information on using the Palm Developer Forums, or to u
"Joe Malone" <[EMAIL PROTECTED]> wrote in message
news:87266@palm-dev-forum...
>
> --- bill <[EMAIL PROTECTED]> wrote:
> > Something else I noticed: 'UInt16' and 'int' is there any
> > differance in these two, I thought there was?
> > ...
> > If there isn't a difference, why not just use 'int'??
"C. B. Schofield" <[EMAIL PROTECTED]> wrote in message
news:87238@palm-dev-forum...
>
> > In the end, the choice of whether to use names like "char" and "int",
> > which are immediately familiar to any C programmer anywhere, or names
> > like "Char" and "Int16", which Look Pretty to an InterCa
"bill" <[EMAIL PROTECTED]> wrote in message
news:87234@palm-dev-forum...
>
> Thanx for your responses,
> first I don't claim to be a good speller :)
> next, I don't know what the size of the Title or descriptions will be,
they
> will change.
> second, I am using this on a palm.
> third, I have a
In article <87507@palm-dev-forum>, [EMAIL PROTECTED] says...
> > [u]intN_t native type of exactly N bits
> > ("These types are optional. However if an implementation
> > provides integer types with widths of 8, 16, 32, or 64 bits,
> > it shall define the corresponding typede
> I'm hoping you (and everyone else propagating this thread, myself
> included) really mean that.
>
> Regards,
> Steve Mann
Steve, indulge me for one more second. My apologies to John and the group
for the off-topic bullsh*t and the unadvised original posting.
Craig
--
For information on us
On Wed, 29 May 2002, John Marshall wrote:
> Interestingly, C99 added a bunch of [U]Int16-like types, and it was
> pretty controversial. Lots of people thought adding them was just
> pandering to a need that wasn't really there, for the reasons I've been
> trying to explain. But they went a lot f
On Sun, May 26, 2002 at 06:46:39PM -0700, Joe Malone wrote:
> In the original edition of K&R's "The C Programming Language", int is
> described as "an integer, typically reflecting the natural size of
> integers on the host machine." Examples are given for machines upon
> which an int is 16, 32,
On Wed, 29 May 2002, John Marshall wrote:
> Keith, having met me face to face on a number of occasions :-), will
> be able to tell you that if I think you're spouting dangerously or
> offensively wrong claptrap, I might well respond colourfully in person
> too. So I don't think that illustrates y
At 4:32 AM +0200 5/29/02, John Marshall wrote:
>Sheesh. The net-cop wannabes of today! Why won't they use a little
>pop. psychology?
John/C.B./Keith/Whoever:
I think I can safely say that most of the subscribers to this list
don't give a f**k. We're here to discuss Palm OS programming, not N
On Sun, May 26, 2002 at 09:16:02PM -0600, C. B. Schofield wrote
(in reply to Keith Rollin's question about about his use of "anonymity"):
> I was referring to the fact that it's not uncommon for people to use
> confrontational language and be less charitable in email than they would be
> in person
In article <87454@palm-dev-forum>, [EMAIL PROTECTED] says...
>
> On Sun, May 26, 2002 at 09:20:43AM -0700, Joe wrote:
> >> In the end, the choice of whether to use names like "char"
> >> and "int", which are immediately familiar to any C programmer
> >> anywhere, ... really comes down to a pers
---
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of bill
Sent: Sunday, May 26, 2002 5:55 PM
To: Palm Developer Forum
Subject: Re: passing char* data[10] question Code sample
Hi again, thanx again, you guys have inadvertantly answered another question
I was pondering. At any rate, I tho
On Sun, May 26, 2002 at 09:20:43AM -0700, Joe wrote:
>> In the end, the choice of whether to use names like "char"
>> and "int", which are immediately familiar to any C programmer
>> anywhere, ... really comes down to a personal choice of
>> whether to drink Palm's nomenclature Kool-aid.
>
>
John Marshall <[EMAIL PROTECTED]> wrote:
>There's certainly no compelling argument for using "Int16" etc
>instead of "int" etc,
There is if you have code that also needs to compile on Windows CE.
>but there are compelling technical arguments for using
>"int" etc instead of "Int16" etc in many
> John clearly signed his first name, and his full name is in the From:
> field. To what anonymity are you referring?
I was referring to the fact that it's not uncommon for people to use
confrontational language and be less charitable in email than they would be
in person. Providing a name and
--- bill <[EMAIL PROTECTED]> wrote:
> Something else I noticed: 'UInt16' and 'int' is there any
> differance in these two, I thought there was?
> ...
> If there isn't a difference, why not just use 'int'??
See my answer below. But first, some caveats:
I am not an expert in C. I have not rec
a difference, why not just use 'int'??
thanx
bill
- Original Message -
From: "Joe Malone" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Sunday, May 26, 2002 4:40 PM
Subject: Re: passing char* data[10] question Code sample
--- Keith Rollin <[EMAIL PROTECTED]> wrote:
> I think that the questionable parts of what you said would
> be the parts John pointed out. strlen can be used just
> fine on the Palm (with development environment support, or
> with one's own macros),
All I said about strlen is "There is no str
On Sun, 26 May 2002, Keith Rollin wrote:
> >since when has it changed practically every release? :P
>
> I am, of course, overstating the situation. And I suppose that I was
> wrong to say "definition", since it's always been intended to do the
> same thing in every release. But there is something
At 10:40 PM +0200 5/26/02, Aaron Ardiri wrote:
>On Sun, 26 May 2002, Keith Rollin wrote:
>>This is questionable, not only because StrNCopy's definition has
>>changed in practically every release of the OS
>
>since when has it changed practically every release? :P
I am, of course, overstating the
On Sun, 26 May 2002, Keith Rollin wrote:
> Let's also take a look at the following that you posted:
>
> > // locate a space
> > p = StrChr(sentence, ' ');
> >
> > if (p)
> > // found a space, so copy the word
> > StrNCopy(word, sentence, (p - sentence));
>
> This is questionable, not
At 1:08 PM -0700 5/26/02, Joe wrote:
>--- Keith Rollin <[EMAIL PROTECTED]> wrote:
>>
>> But Joe *was* off-base in part of his response.
>>
>
>Now you've made me go back and read what I wrote! I don't see
>anything wrong except for a little sloppiness in the 2nd post when
>describing the relati
On Sun, 26 May 2002, Joe wrote:
> - Joe "Would anyone feel better if I added a surname?"
:) yeah.. just as long as it aint "Bloggs" :P
// az
[EMAIL PROTECTED]
http://www.ardiri.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/d
--- Keith Rollin <[EMAIL PROTECTED]> wrote:
>
> But Joe *was* off-base in part of his response.
>
Now you've made me go back and read what I wrote! I don't see anything
wrong except for a little sloppiness in the 2nd post when describing
the relative equivalency of pointers and arrays, and a b
At 8:32 PM -0700 5/25/02, bill wrote:
>Thanx for your responses,
>first I don't claim to be a good speller :)
>next, ...
>second, ...
>third, ...
Nor do you know how to count. :-)
>I have all the books, and then read the and read them, been at this
>one thing for a while, then I have read them
On Sun, 26 May 2002, Keith Rollin wrote:
> >Why do people feel the need to posture like this? ...because it's easy to
> >do so in anonymity?
>
> John clearly signed his first name, and his full name is in the From:
> field. To what anonymity are you referring?
>
> > ...because it's fun to be f
Hahaha. I've already found some via some "testing". Debugging is more like
it.
Keith M
- Original Message -
From: "Aaron Ardiri" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Sunday, May 26, 2002 3:11 PM
Su
At 8:22 AM -0600 5/26/02, C. B. Schofield wrote:
>Why do people feel the need to posture like this? ...because it's easy to
>do so in anonymity?
John clearly signed his first name, and his full name is in the From:
field. To what anonymity are you referring?
> ...because it's fun to be flam
On Sun, 26 May 2002, Keith Monahan wrote:
> As a C programmer with a fair amount of experience, I've still found the
> Palm platform to be somewhat challenging because of the differences in what
> standard functions are available. It's not that the Palm API is hard
> though, it is generally easy,
As a C programmer with a fair amount of experience, I've still found the
Palm platform to be somewhat challenging because of the differences in what
standard functions are available. It's not that the Palm API is hard
though, it is generally easy, and the documentation generally easy to read
and
> On Sat, May 25, 2002 at 08:14:25PM -0700, "Joe" wrote:
> > There is no strlen() function in the Palm API. That,
> > coupled with the fact that you are using char everywhere
> > instead of Char or WChar, leads me to suspect that you
> > aren't running this on any Palm Powered device.
--- Joh
> In the end, the choice of whether to use names like "char" and "int",
> which are immediately familiar to any C programmer anywhere, or names
> like "Char" and "Int16", which Look Pretty to an InterCapping Macintosh
> recalcitrant, really comes down to a personal choice of whether to drink
> Pal
On Sat, May 25, 2002 at 08:14:25PM -0700, "Joe" wrote:
> There is no strlen() function in the Palm API. That, coupled with the
> fact that you are using char everywhere instead of Char or WChar, leads
> me to suspect that you aren't running this on any Palm Powered device.
Oh please :-(
--- bill <[EMAIL PROTECTED]> wrote:
> Thanx for your responses,
Maybe the following two functions will serve as an example of how you
can pass a string to a function and how the function can return a
string.
/**
FirstWord - return
uot; <[EMAIL PROTECTED]>
Sent: Saturday, May 25, 2002 8:03 PM
Subject: Re: passing char* data[10] question Code sample
> "bill" <[EMAIL PROTECTED]> wrote in message
> news:87230@palm-dev-forum...
> >
> > void Seperator (char* Data[], char* text)
> >
--- bill <[EMAIL PROTECTED]> wrote:
> Here is some sample code, that if I could get some help on,
> it might help with the other problem I mentioned earlier.
It needs a lot of help. :(
I don't remember what the other problem was, but perhaps it will...
> void Seperator (char* Data[], char* text
"bill" <[EMAIL PROTECTED]> wrote in message
news:87230@palm-dev-forum...
>
> void Seperator (char* Data[], char* text)
> {
> UInt16 index=0, letterCount=0, row=0;
> char tempData[255];
> for (int i=0; i if (text[i]==' ')
>{
>tempData[letterCount]='\0';
>Data[row++]=tempData;
>
Here is some sample code, that if I could get some help on, it might help
with the other problem I mentioned earlier.
void Seperator (char* Data[], char* text)
{
UInt16 index=0, letterCount=0, row=0;
char tempData[255];
for (int i=0; ihttp://www.palmos.com/dev/support/forums/
40 matches
Mail list logo