I have no clue about C programing but I think you are teribly wrong.
I will kick my head off and sh*** down my nech if for loop in C differs from for loop in C++
let me tell u that technically there is no condidtion in C
It is true that the C definition does not contain the word "condition". Nonetheless, ISO/IEC 9899, the official definition of C, indicates throughout its text that false means the same thing as zero, and true the same thing as nonzero.
ISO 14882 2003 (C++03 definition) makes it even clearer: 4.12 "A zero value, null pointer value, or null member pointer value is converted to false; any other value is converted to true."
C++ does use the term condition to describe identical for loops. C may well technically not have conditions, but in non-technical reality, it does.
@codekiddy no I am not wrong "for" loop in C is totally diffrent from for loop in C++ but on visual studio IDE it takes true or false as condition but in C it does not take true or false as condition..................on any IDE
There is no semantic difference between the for loops in C and C++. Both the pieces of code posted should produce no output under both C and C++. Weather C compare to Zero or C++ uses a specific boolean type makes no real difference. If you see a difference then please explain further.
P.S. C has had a boolean type since C99, it is in <stdbool.h> (Don't expect to find it in Microsoft's implementation of C, it is not compliant).
I'm not entirely sure I understand what you are asking, however:
It is the compiler that is compliant/supports the features, not the IDE. For a list of compliant compilers see: http://en.wikipedia.org/wiki/C99
However if you just want to be able to use Boolean values in C , you could look at defining said values. See: http://c-faq.com/~scs/cgi-bin/faqcat.cgi?sec=bool