Top "C99" questions

This tag is for questions regarding the International Standard ISO 9899:1999, aka "C99", with technical corrigenda, and for questions about code written in C99 (as opposed to K&R C, C89 or later C Standard revisions like the 2011 revision C11).

What's the C++ equivalent of UINT32_MAX?

In C99, I include stdint.h and that gives me UINT32_MAX as well as uint32_t data type. However, …

c++ types c99
C99 boolean data type?

What's the C99 boolean data type and how to use it?

c types boolean c99
Visual Studio support for new C / C++ standards?

I keep reading about C99 and C++11 and all these totally sweet things that are getting added to the language …

c++ visual-studio visual-c++ c++11 c99
Why does C++11 not support designated initializer lists as C99?

Consider: struct Person { int height; int weight; int age; }; int main() { Person p { .age = 18 }; } The code above is legal in …

c++ c c++11 initialization c99
Maximum size of size_t

I know in C return type of sizeof operator is size_t being unsigned integer type defined in <stdint.…

c gcc sizeof c99 size-t
C: cast int to size_t

What is the proper way to convert/cast an int to a size_t in C99 on both 32bit and 64…

c casting int c99 size-t
How to compile a C project in C99 mode?

I got the following error message while compiling the C code: error: 'for' loop initial declarations are only allowed in …

c c99
Is it possible to iterate over arguments in variadic macros?

I was wondering if it is possible to iterate over arguments passed to a variadic macro in C99 or using …

c foreach c99 c-preprocessor variadic
Implicit declaration of function - C99

I am currently using Xcode 4, and in my .pch file I have this macro: #define localize(s) NSLocalizedString((s), nil). …

objective-c xcode macros c99 pch
Realistic usage of the C99 'restrict' keyword?

I was browsing through some documentation and questions/answers and saw it mentioned. I read a brief description, stating that …

c gcc c99 restrict-qualifier