I looked them up and they seem to be apart of the standard C Library. Great. Where the hell do I find this illusive mythical library?!
I'm not going to hunt down each file unless I absolutely have to, I downloaded stdint.h, it required inttypes.h so I download it and it required two more files. So I'm assuming they're all in a pick pack.
Where do I find all these files?
OS? Compiler "package"?
I know absolutely nothing from what you say, and header files are only supposed to refer. The key word is "standard" - multiple different implementations.
They should come with your compiler, and be installed (as part of the compiler installation) to a place where the compiler knows to look by default, so that you can just #include them in your programs and don't have to worry about where they're actually located.
Sorry forgot to mention I have Visual Studio 2009.
They don't come with the compiler otherwise I'd not be searching for them -.-
[editline]07:44AM[/editline]
My OS is Vista x64
Download MinGW.
[QUOTE=XCIV;19396468]I have Visual Studio 2009.[/QUOTE]
Are you sure?
[QUOTE=turby;19396780]Are you sure?[/QUOTE]
Is this an attempt at being funny?
[editline]08:04AM[/editline]
Wow, jokes on me, 2008 I meant (can't use the edit button due to the proxy I'm using won't allow me)
Still doesn't change my situation.
I'll try getting MinGW
[QUOTE=XCIV;19396799]Is this an attempt at being funny?[/QUOTE]
Yes
stdint.h was first introduced in the C99 standard which is after C++ was standardized.
[editline]10:24AM[/editline]
Apparently, C++ was updated, but MSVC wasn't. MSVC 2010 has the stdint library, but you can download the library for 2008 [url=http://en.wikipedia.org/wiki/Stdint.h#Downloads]here[/url].
MSVC and friends have a nasty habit of breaking and not supporting standards.
That said these are C libraries, not C++ libraries noctune, yes there is a difference.
And it's crazy that 2008 doesn't support C99 properly, considering the 99 is from 1999, and the 2008 means the year 2008.
[QUOTE=blankthemuffin;19401119]That said these are C libraries, not C++ libraries noctune, yes there is a difference.[/QUOTE]
I didn't say it was a c++ library. :confused:
Anyways, it seems like boost's solution is as compiler-independent as you can get, so you might just want to use that.
You keep mentioning C++ and boost which have absolutely nothing to do with this.
[QUOTE=blankthemuffin;19411851]You keep mentioning C++ and boost which have absolutely nothing to do with this.[/QUOTE]
I thought that C++ was updated in '03 to C99. Turns out that was just a small update to fix errors and C++ was updated with C in 99. :downs:
Boost provides a stdint replacement because a lot of implementations lack them. How is that not relevant?
It's not relevant by being a C++ library.
Boosts stdint-header uses features, that are not C standard.
Also, C++03 is not fully compatible with C99.
Sorry, you need to Log In to post a reply to this thread.