c progamming

T

toha

hi, iam shamiul islam.i am astudent of iut.my question is what is c
progamming and why we use it?
 
S

spinoza1111

hi, iam shamiul islam.i am astudent of iut.my question is what is c
progamming and why we use it?

Ak-salaam aleykum.

C programming is programming in a closely related set of dialects
labeled C starting with a language invented by Dennis Ritchie around
1970. These dialects are all characterized by block structure that
uses { and } to demarcate blocks, function definitions that cannot
nest, and the ability to take the address of any value that has an
address and use this as data. Other markers include a for statement
which unlike for statements in other languages, allows the variable
typically used as the limit to be changed (for statements in other
languages

It is used primarily out of a combination of vanity, reluctance of
actual programmers to continually re-educate themselves, and for some
sort of consistency and a small amount of portability. Its reputation
as a portable language is unmerited since in principle any C program
can be highly dependent on its platform owing to the fact that
addresses of lValues are objects, meaning that without extensive
diligence a C program should not in fact ported.
 
N

Nick Keighley

Ak-salaam aleykum.

C programming is programming in a closely related set of dialects
labeled C starting with a language invented by Dennis Ritchie around
1970. These dialects are all characterized by block structure that
uses { and } to demarcate blocks, function definitions that cannot
nest, and the ability to take the address of any value that has an
address and use this as data. Other markers include a for statement
which unlike for statements in other languages, allows the variable
typically used as the limit to be changed (for statements in other
languages

ALgol, Fortran

It is used primarily out of a combination of vanity, reluctance of
actual programmers to continually re-educate themselves, and for some
sort of consistency and a small amount of portability.

it's also "close to the machine" hence useful for device drivers and
such like. Much of Windows is written in C and all of Linux.
Its reputation
as a portable language is unmerited since in principle any C program
can be highly dependent on its platform owing to the fact that
addresses of lValues are objects,

this is simply crap

meaning that without extensive
diligence a C program should not in fact ported.

as is this
 
T

Tim Streater

Nick Keighley said:
ALgol, Fortran



it's also "close to the machine" hence useful for device drivers and
such like. Much of Windows is written in C and all of Linux.


this is simply crap



as is this

Well, Spinny never did know his arse from a hole in the ground, as
evidenced by the fact that he thinks the IUT trolls are real.
 
S

spinoza1111

Well, Spinny never did know his arse from a hole in the ground, as
evidenced by the fact that he thinks the IUT trolls are real.

How do you know that they are? And if they're trolls, they are Good
Trolls, having a laugh at pompous Americans who do not know their
profession.

Hic est enim arsus meum
Hoc est holus in groundum
Et ego in Arcadiam
Non in arsum tuum
Deo Gratias
 
S

spinoza1111

ALgol, Fortran


it's also "close to the machine" hence useful for device drivers and
such like. Much of Windows is written in C and all of Linux.

Wow. Two pieces of outdated crap.
this is simply crap

You think it's simply crap
And you think it's utter pap
But hey, guy
You cannot say why
So don't dump your crap into my lap
 
S

SG

[...] Its reputation
as a portable language is unmerited since in principle any
C program can be highly dependent on its platform

The important word here is "can".
owing to the fact that
addresses of lValues are objects,

Addresses are values which can be stored in objects of pointer types
just like 42 is a value which can be stored in an object of type int.
Anyhow, what does this have to do with portability?
meaning that without extensive
diligence a C program should not in fact ported.

What kind of "extensive diligence" are you referring to?

SG
 
N

Nick Keighley

[spinoza wrote]
What kind of "extensive diligence" are you referring to?

he considers that every line of C has to be closely reviewed before it
is ported. Presumably he does the same thing with c# when a new
release comes out.
 

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
474,093
Messages
2,570,613
Members
47,230
Latest member
RenaldoDut

Latest Threads

Top