Re: Pascal - C (2)



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

.



Relevant Pages

  • Re: Diecast boxes heat dissipation
    ... Try to read for comprehension this time. ... knowing that, much less reading the answer, but THAT stupid behavior is ... I expect more of the same expletives and babbling from you since you have never shown a even a modicum of analytical ability on this group. ... I suspect that any knowledge you *appears* to have come from reading, hearsay, and possibly your past technician-type employment. ...
    (sci.electronics.design)
  • Re: Kook of the Month material?
    ... Nothing less than a KOTM nomination will suffice here. ... >>> this will be a first during the time I've been reading the group. ... Harrington tags somebody else they will be "it". ... "Knowing what without knowing why is not knowing what" ...
    (rec.music.classical.recordings)
  • Re: Dont spoil Harry Potter plot, Rowling pleads (CTV.ca)
    ... J.K. Rowling has a request for those with inside dirt on her seventh and final Harry Potter book: ... but I suppose it's not the same knowing if certain character will die or not while we're reading about a battle. ...
    (alt.fan.harry-potter)
  • Re: Putting a scene into words.
    ... Joining the lies isn't going to gain you any credibility, ... I deleted that manually after reading it. ... Which is what I meant with perhaps later knowing something about ... petty gossip. ...
    (rec.arts.sf.composition)
  • Re: Working with CSV files
    ... You also said the source file is 900MB. ... Pulling that into memory ... I also recommend using one of the techniques ... described in CDP over the years for reading data from the host OS line ...
    (comp.databases.pick)