Hi!
I am trying to understand weather to use c89/c90 or c99 and have come
up with some questions that I would be interested in hearing your
thoughts about:
What is the advantage of writing a program according to c90? Dito for
c99?
What is the disadvantage of asking someone to write a program
according to c90 instead of c99? Dito for "c99 instead of c90"?
What do you recommend when giving programming assignmnts/jobs: "write
the program according to c90" or "write the program according c99"?
As far as I understand the best (best as being most portable) thing is
to write C-programs that comply with c89, c90 and c99.
How are C-compilers "officially certified" to comply with c89, c90 and
c99?
BRs! 14 3236
dspfun wrote:
What is the advantage of writing a program according to c90? Dito for
c99?
I write C programs in the common subset of the two.
Brian
On Mon, 10 Dec 2007 21:55:07 +0000, Default User wrote:
dspfun wrote:
>What is the advantage of writing a program according to c90? Dito for c99?
I write C programs in the common subset of the two.
Is C90 not a subset of C99?
"K. Jennings" <kj*******@resurgence.netwrote in
news:pa*********************@resurgence.net:
Is C90 not a subset of C99?
Not entirely, C99 got rid of implicit int and also implicit function
declarations for instance, and that's because they were anti-features in
the first place.
--
Tomás Ó hÉilidhe
Tomas S hIilidhe wrote:
"K. Jennings" <kj*******@resurgence.netwrote in
news:pa*********************@resurgence.net:
Is C90 not a subset of C99?
Not entirely, C99 got rid of implicit int and also implicit function
declarations for instance, and that's because they were anti-features
in the first place.
Yep. Most of what you "lose" weren't good practices anyway.
Brian
dspfun wrote:
What is the advantage of writing a program according to c90? Dito for
c99?
C90 is currently supported on a wider range of platforms.
C99 has some new features which you may find convenient.
What is the disadvantage of asking someone to write a program
according to c90 instead of c99? Dito for "c99 instead of c90"?
Hmm, sounds like a homework question...
What do you recommend when giving programming assignmnts/jobs: "write
the program according to c90" or "write the program according c99"?
"Write according to the capabilities of the compiler you have available
for the platforms you're targetting."
and
"Try to keep platform-specfific code separate from Standard C, but don't
get obsessive about it."
How are C-compilers "officially certified" to comply with c89, c90 and
c99?
Self-certification as far as I know. ja*********@verizon.net wrote:
dspfun wrote:
[...]
>How are C-compilers "officially certified" to comply with c89, c90 and c99?
There's no official certification process. A number of private
companies provide test suites which can check for non-compliance.
Well, we do have the UNIX 03 certification, which comes with a validated
C99 compiler.
"ISO-C the requested output files from a valid release of either the
Perennial or Plum Hall test suites."
- http://www.opengroup.org/openbrand/t.../u03brand.html
IIRC, from the last time I checked, there was some 3-4 validated C99
compilers.
--
Tor <bw****@wvtqvm.vw | tr i-za-h a-z>
On 11 Dec, 00:10, jameskuy...@verizon.net wrote:
dspfun wrote:
How are C-compilers "officially certified" to comply with c89, c90 and
c99?
There's no official certification process.
Is there an official certification process for C89 or C90?
"Tomás Ó hÉilidhe" <to*@lavabit.comwrites:
"K. Jennings" <kj*******@resurgence.netwrote in
news:pa*********************@resurgence.net:
> Is C90 not a subset of C99?
Not entirely, C99 got rid of implicit int and also implicit function
declarations for instance, and that's because they were anti-features in
the first place.
And of course C99 adds a few new keywords, which are no longer
available for use as ordinary identifiers (inline, restrict).
--
Keith Thompson (The_Other_Keith) <ks***@mib.org>
Looking for software development work in the San Diego area.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
In article <87************@kvetch.smov.org>,
Keith Thompson <ks***@mib.orgwrote:
>And of course C99 adds a few new keywords, which are no longer available for use as ordinary identifiers (inline, restrict).
One of which (inline) I actually ran into the other day. The error
message wasn't very enlightening.
-- Richard
--
:wq
dspfun wrote:
>On 11 Dec, 00:10, jameskuy...@verizon.net wrote:
>>dspfun wrote:
>>How are C-compilers "officially certified" to comply with c89, c90 and c99?
There's no official certification process.
Is there an official certification process for C89 or C90?
For the standards themselves? I presume the answer is yes, though I
don't know the details. ISO has standards that prescribe how ISO
standards are supposed to be written, and I would expect that ISO is
sufficiently bureaucratic that it actually enforces those standards. ISO
has no external enforcement powers, but the standards that govern other
ISO standards are a purely internal affair.
On 11 Dec, 12:19, James Kuyper <jameskuy...@verizon.netwrote:
dspfun wrote:
On 11 Dec, 00:10, jameskuy...@verizon.net wrote: dspfun wrote:
>How are C-compilers "officially certified" to comply with c89, c90 and c99?
There's no official certification process.
Is there an official certification process for C89 or C90?
For the standards themselves? I presume the answer is yes, though I
don't know the details. ISO has standards that prescribe how ISO
standards are supposed to be written, and I would expect that ISO is
sufficiently bureaucratic that it actually enforces those standards. ISO
has no external enforcement powers, but the standards that govern other
ISO standards are a purely internal affair.
Ok, thanks! What I meant was if there is/was an official certification
process for C89/C90 compilers.
dspfun wrote:
On 11 Dec, 12:19, James Kuyper <jameskuy...@verizon.netwrote:
dspfun wrote:
>On 11 Dec, 00:10, jameskuy...@verizon.net wrote:
>>dspfun wrote:
>>How are C-compilers "officially certified" to comply with c89, c90 and
>>c99?
>There's no official certification process.
Is there an official certification process for C89 or C90?
....
Ok, thanks! What I meant was if there is/was an official certification
process for C89/C90 compilers.
??? - I already answered that question, and you've quoted my answer
above, just before repeating the question. That's why I assumed that
you had to be asking a different question.
On 11 Dec, 18:45, jameskuy...@verizon.net wrote:
dspfun wrote:
On 11 Dec, 12:19, James Kuyper <jameskuy...@verizon.netwrote:
dspfun wrote:
On 11 Dec, 00:10, jameskuy...@verizon.net wrote:
>dspfun wrote:
>How are C-compilers "officially certified" to comply with c89, c90 and
>c99?
There's no official certification process.
Is there an official certification process for C89 or C90?
...
Ok, thanks! What I meant was if there is/was an official certification
process for C89/C90 compilers.
??? - I already answered that question, and you've quoted my answer
above, just before repeating the question. That's why I assumed that
you had to be asking a different question.
Ok, I wasn't sure if you meant your answer was valid for all (C89, C90
and C99). Now I know, thanks!
On 10 Dec, 21:45, dspfun <dsp...@hotmail.comwrote:
I am trying to understand weather to use c89/c90 or c99 and have come
up with some questions that I would be interested in hearing your
thoughts about:
What is the advantage of writing a program according to c90?
portability
Dito for c99?
shiney new features
What is the disadvantage of asking someone to write a program
according to c90 instead of c99? Dito for "c99 instead of c90"?
What do you recommend when giving programming assignmnts/jobs: "write
the program according to c90" or "write the program according c99"?
As far as I understand the best (best as being most portable) thing is
to write C-programs that comply with c89, c90 and c99.
I encourage people to use C90. If some feature of C99 was *really*
needed (rather than a convenience) (eg. complex numbers) then I'd
recomend C99 (or maybe C++...)
<snip>
--
Nick Keighley
Q: How many surrealists does it take to change a light bulb?
A: Two. One to hold the giraffe and the other to fill the bathtub
with
brightly colored machine tools. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: softwareengineer2006 |
last post by:
All Interview Questions And Answers
10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP)
I have listed over 10000 interview questions asked
in interview/placement test papers for...
|
by: connectrajesh |
last post by:
INTERVIEWINFO.NET
http://www.interviewinfo.net
FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES
NO ADVERTISEMENT
|
by: freepdfforjobs |
last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions
http://www.questpond.com/SampleInterviewQuestionBook.zip
Download the JAVA , .NET and SQL Server interview sheet and rate...
|
by: Drew |
last post by:
I posted this to the asp.db group, but it doesn't look like there is much
activity on there, also I noticed that there are a bunch of posts on here
pertaining to database and asp. Sorry for...
|
by: Krypto |
last post by:
Hi,
I have used Python for a couple of projects last year and I found it
extremely useful. I could write two middle size projects in 2-3 months
(part time). Right now I am a bit rusty and trying...
|
by: ramu |
last post by:
C# Interview Questions and Answers8
http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html
C# Interview Questions and Answers7...
|
by: ramu |
last post by:
C# Interview Questions and Answers8
http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html
C# Interview Questions and Answers7...
|
by: ramu |
last post by:
C# Interview Questions and Answers8
http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html
C# Interview Questions and Answers7...
|
by: reema |
last post by:
EJB Interview Questions
http://interviewdoor.com/technical/EJB-Interview-Questions.htm
CSS Interview Questions
http://interviewdoor.com/technical/CSS-Interview-Questions.htm
C Interview Questions...
|
by: reema |
last post by:
EJB Interview Questions
http://interviewdoor.com/technical/EJB-Interview-Questions.htm
CSS Interview Questions
http://interviewdoor.com/technical/CSS-Interview-Questions.htm
C Interview Questions...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |