Re: Pascal - C (2)
- From: Ruud <Ruud.Baltissen@xxxxxx>
- Date: Sun, 2 Nov 2008 04:11:53 -0800 (PST)
Hallo allemaal,
Many thanks for the massive response!
jacob navia wrote:
If you do not know enough C please do not use this group.
Then please be a good man and tell me what level I should have before
I can attend this group?
Chuck wrote:
Ruud, go ahead and ask questions.
Thank you very much for your support, Chuck!
A good book, such as K&R II, would be helpful.
The book isn't the problem, see next.
Richard wrote:
Why not at least tell him about:
if(isupper(c) || isdigit(c))
and
if(strchr("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", c) != NULL)
The problem is not knowing all those available functions. And knowing
another language is a disavantage as well: instead of reading the book
line by line, one tends to look just at "how is this done in C".
And even reading the book line by line isn't a guarantee for success:
I justed searched the book "C in 21 days" for 'isdigit' and only found
one source file using this function. OTOH, this source file also
mentioned the function 'isspace' and this function does exactly what
one of my own made function does; detecting white space.
sprintf
Not mentioned at all "C in 21 days" :( Because 'printf' was well
explained, I never used the help function of Borland C to give it a
better look. I wish I had because I just did: I learned nothing new
about 'printf' but the page also mentioned 'sprintf' and many more
other functions.
Trent wrote:
strncat(Str1, &Str3[5], 1);
Here I have no excuse, it is mentioned very clearly in the book.
--
___
/ __|__
/ / |_/ Groetjes, Ruud Baltissen
\ \__|_\
\___| http://Ruud.C64.org
.
- Follow-Ups:
- Re: Pascal - C (2)
- From: Nick Keighley
- Re: Pascal - C (2)
- From: Flash Gordon
- Re: Pascal - C (2)
- From: jacob navia
- Re: Pascal - C (2)
- References:
- Pascal - C (2)
- From: Ruud
- Pascal - C (2)
- Prev by Date: Re: dh, the daemon helper
- Next by Date: Re: Pascal - C (2)
- Previous by thread: Re: Pascal - C (2)
- Next by thread: Re: Pascal - C (2)
- Index(es):
Relevant Pages
|