2

When I run make, I see a lots of clang commands. I know the meaning of all of them except -std=c99. So, what does this command do?

2 Answers 2

4

The C programming language has many versions. -std=c99 lets the compiler know that we're using the standard version C99 (released in 1999).

See more: http://en.m.wikipedia.org/wiki/C99

1

adding further , this version of C has many cool new features which every programmer uses presently , like - single line comments starting with //

initialising varibales where they are implemented-

old school C -
int i; for (i=0; condition ; operation)

C99 - for (int i=0; condition ; operation)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .