[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Learn C
You write:
|>that's what I need to learn
|
|Wrong. What you need to learn is ANSI C. The linux C compiler is GCC and
|it understands both K&R and ANSI. The machines that do not (natively)
|understand ANSI C are SUNs. The SUN C compiler only understands K&R C.
|Because of that lots of people use GCC on a SUN (VBG).
Really? Even Under Slowlaris 2.5+?
|The next steps after C are ANSI C++ (also with GCC) and JavaScript and
|Java which are closely related (in appearence) to C++.
Not sure about that. People who have just finished learning C and see
C++ simply write C programs with inlines. They just get too comfy
with the C syntax and miss the whole point of OO programming and OO
thinking. If your goal is C++ then I'd recommand jumping stright into
the deep water of C++ (by reading Stroustroup 2nd edition (soon
expected to be updated to the ANSI standard) very carefully).
I can testify from my personal experience - it took me three times of
trying to read the AT&T manual of cfront, Stroustroup 1st edition and
finally Stroustroup 2nd edition to start getting the hang of it
(couldn't do much better - I was reading the most recent documents as
they were being printed).
|Out of line: Perl is most related to shell programming under Linux so it's
|best if you get some working knowledge about shell programming and then
|learn Perl. I hope that I anticiapted it right :)
Learn UNIX (system calls, system administration, common applications,
OS design), then learn Perl :-).
|Anyway learning C is not exactly fast. The number of commands to learn and
|apply are staggering (3 figures for the basic libraries alone).
One of C's greatest points, is its small size - the basic set of
commands is minimal. What you are talking about is the standard
library, which you wouldn't have to learn by hart - just know the
general idea of what's available in there (even today I'm not ashamed
to do "man fread" when I need to use it, no point in stuffing your
mind with all this docs when they are allways available on-line or in
some book).
--Amos
--Amos Shapira | "Of course Australia was marked for
133 Shlomo Ben-Yosef st. | glory, for its people had been chosen
Jerusalem 93 805 | by the finest judges in England."
ISRAEL amos@gezernet.co.il | -- Anonymous
Follow-Ups:
- Re: Learn C
- From: Peter Lorand Peres <plp@actcom.co.il>
References:
- Re: Learn C
- From: Peter Lorand Peres <plp@actcom.co.il>