Uint isn't a standard type - unsigned int is.
Up vote 3 down vote favorite share g+ share fb share tw.
I'm looking in the site, but all question refers to C# or C++. I'd like an answer about C. Note that I'm using GCC under Linux c gcc uint link|improve this question asked Apr 15 '11 at 14:13the_candyman1135 100% accept rate.
– the_candyman Apr 15 '11 at 14:15 @the_candyman: That your gcc may happen to have uint - or it may happen to not have it. It will have unsigned int – Erik Apr 15 '11 at 14:16 That code written with uint won't be inherently portable unless uint is a typedef that you declare actually inside that code. – Jack Apr 15 '11 at 14:17 ok, thanks all :) – the_candyman Apr 15 '11 at 14:18 A better way of saying this would be that uint is not part of the C language but rather a typedef that some lazy people define.
:-) – R.. Apr 15 '11 at 16:29.
Some systems may define uint as a typedef. Typedef unsigned int uint; For these systems they are same. But uint is not a standard type, so every system may not support it and thus it is not portable.
2 Worth noting is that if you really want an unsigned int of a particular size, then use uintXX_t. – Blagovest Buyukliev Apr 15 '11 at 14:25 2 @Blagovest: uintXX_t types are only defined in a specific C99 implementation if it makes sense to have them. Uint_leastXX_t is defined in all C99 implementations.
And, these types didn't exist in the previous version of teh Standard (not all current C compilers are C99 compilers). – pmg Apr 15 '11 at 14:50.
The unsigned int is a built in (standard) type so if you want your project to be cross-platform, always use unsigned int as it is guarantied to be supported by all compilers (hence being the standard).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.