What are the important parts of C languages?

W

wilsonidv

Daer All:

I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

Could anyone has many experiences tell me, please.

Thanks and Regards.
 
U

usr.root

(e-mail address removed) 写é“:
Daer All:

I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

Could anyone has many experiences tell me, please.

Thanks and Regards.

everything is important,and the most important part is pointer
 
J

Jack Klein

Daer All:

I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

I have no idea what you mean by "critical parts", and neither does the
C language standard, since it doesn't define anything remotely like
this term.
Could anyone has many experiences tell me, please.

Thanks and Regards.

The most critical part of the use of any programming language is
writing correct programs. That is just as true of C as it is of every
other language.

If you have some special meaning in mind for "critical parts", you had
better post again and define that meaning.
 
W

wilsonidv

Daer Jack Klein:

I'm sorry for my unclear meaning.
I'd like to know the most important or essentisl portions of C
language, for I could focus on reading these.

Thanks for reply.
 
A

Alexei A. Frounze

I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

Everything. I've been studying it and programming in it for about 5 years
now.
And I'm still far from ideal.

Alex
 
K

Keith Thompson

I'm sorry for my unclear meaning.
I'd like to know the most important or essentisl portions of C
language, for I could focus on reading these.

First, please provide context when you post a followup. We can't
necessarily see the article to which you're replying.

If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.

Second, I don't think you've made your question any clearer. I think
the problem is that you're asking the wrong question. Somebody
mentioned pointers; it's true that pointers play a larger role in C
than in most other languages. But I think what you really need is
advice on how to learn C.

K&R2 (Kernighan & Ritchie's "The C Programming Language", 2nd Edition)
is almost universally considered to be one of the best C tutorials in
existence. Get a copy of the book and work through it. Do the
exercises.

Read the C FAQ, <http://www.eskimo.com/~scs/C-faq/faq.html>. Parts of
it may not make much sense yet, but they should by the time you finish
K&R2. The FAQ also has some advice on books and other resources.

Pick a good medium-sized project and implement it in C. I don't have
any good ideas off the top of my head, but I'm sure others will.
 
N

newby2c

Keith Thompson wrote:

... I think what you really need is advice on how to learn C.

K&R2 (Kernighan & Ritchie's "The C Programming Language", 2nd Edition)
is almost universally considered to be one of the best C tutorials in
existence. Get a copy of the book and work through it. Do the
exercises.

Read the C FAQ, <http://www.eskimo.com/~scs/C-faq/faq.html>. Parts of
it may not make much sense yet, but they should by the time you finish
K&R2. The FAQ also has some advice on books and other resources.

Pick a good medium-sized project and implement it in C. I don't have
any good ideas off the top of my head, but I'm sure others will.

In my opinion (such as it is), this is the best answer and info that
could be given to a new 'C' programmer. It should be used as the
standard template for the question, "How do I get started learning the
'C' Programming Language?" (and other questions of similar ilk).

newby2c
 
I

indian

try focus more on pointers & better try out programs, and then study
test ur c skills
 
W

wilsonidv

Thank you for advice.

Keith said:
First, please provide context when you post a followup. We can't
necessarily see the article to which you're replying.

If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.

Second, I don't think you've made your question any clearer. I think
the problem is that you're asking the wrong question. Somebody
mentioned pointers; it's true that pointers play a larger role in C
than in most other languages. But I think what you really need is
advice on how to learn C.

K&R2 (Kernighan & Ritchie's "The C Programming Language", 2nd Edition)
is almost universally considered to be one of the best C tutorials in
existence. Get a copy of the book and work through it. Do the
exercises.

Read the C FAQ, <http://www.eskimo.com/~scs/C-faq/faq.html>. Parts of
it may not make much sense yet, but they should by the time you finish
K&R2. The FAQ also has some advice on books and other resources.

Pick a good medium-sized project and implement it in C. I don't have
any good ideas off the top of my head, but I'm sure others will.
 
S

suriya

hi wilson,
i am working on c/c++ since last 4 years. every aspect of any lang., be
it c, c++ java or any else, is important. One should try to learn
maximum ways to do a prog. Especially in C lang. functions, pointers
and libraries are very important. It is said that, no C programmer
without Pointer, hence try to make ur grip on pointer as firm as
possible.
happy C programming
 
S

saviochacko

Dear Friend ..

First of all i would like to tell you that all parts of the C
language r important . But if ur looking for a job or planning to work
on a C project then i would prefer that you look into topics like
Pointer, Structures, Union, Recursion
and Files. File is an important concept in C ....
 
C

Christopher Benson-Manica

indian said:
try focus more on pointers & better try out programs, and then study
test ur c skills

How about focusing on the newsgroup for a few nanoseconds and learning
how to attribute correctly using Google groups? Instructions were
posted at least once in this very thread.
 
R

Randy Howard

(e-mail address removed) wrote
(in article
Dear Friend ..

First of all i [sic] would like to tell you that all parts of
the C language r [sic] important . But if ur [sic] looking for a job or
[rest snipped]

*sigh*

do u rly thnk this is ezier 2 rd?
 
J

John Bode

Daer All:

I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

Could anyone has many experiences tell me, please.

Thanks and Regards.

All parts of the language are equally important; if you're asking for a
roadmap of which concepts should be learned in what order, you're
probably better off getting a copy of "The C Programming Language" by
Kernighan and Ritchie and studying that.

Different parts of the language present challenges to different people,
so I don't know if my personal experiences would be applicable to you.
Having said that, pointers and declarator syntax almost universally
frustrate novice C programmers, so you might want to focus on those.
When you get to the point where you understand what

int *(*(*foo)[10])(double y, void (*blah)(int **x))[30];

means, then you've mastered declarators.
 
B

Ben Pfaff

John Bode said:
I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

All parts of the language are equally important; [...]

That statement is absurd. Consider the basic types, such as int
and char. They are used in every C program, so they are
important. Now consider bit-fields. They are not used in many C
programs. Thus, bit-fields are less important than the basic
types.
 
W

William Hughes

John said:
Daer All:

I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

Could anyone has many experiences tell me, please.

Thanks and Regards.

All parts of the language are equally important; if you're asking for a
roadmap of which concepts should be learned in what order, you're
probably better off getting a copy of "The C Programming Language" by
Kernighan and Ritchie and studying that.

Different parts of the language present challenges to different people,
so I don't know if my personal experiences would be applicable to you.
Having said that, pointers and declarator syntax almost universally
frustrate novice C programmers, so you might want to focus on those.
When you get to the point where you understand what

int *(*(*foo)[10])(double y, void (*blah)(int **x))[30];

means, then you've mastered declarators.

Nonsense. When you have learned to write that in a useful
and understandable form then you've mastered declarators.
Mastering declarators does not mean being able to run cdecl in
your head.

-William Hughes
 
J

John Bode

Ben said:
John Bode said:
I have studied C language for just 2~3 months.
I'd like to know the critical parts of C, focusing on these.

All parts of the language are equally important; [...]

That statement is absurd. Consider the basic types, such as int
and char. They are used in every C program, so they are
important. Now consider bit-fields. They are not used in many C
programs. Thus, bit-fields are less important than the basic
types.

I was thinking a *little* higher-level than that, Ben.
 
D

Default User

Dear Friend ..

First of all i would like to tell you that all parts of the
C language r important . But if ur looking for a job or planning to
work on a C project then i would prefer that you look into topics
like Pointer, Structures, Union, Recursion
and Files. File is an important concept in C ....

Please post in English. Also, read my sig.


Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top