News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Use int32_t without using cstdint?

Started by thssld, June 07, 2009, 03:40:56 AM

Previous topic - Next topic

thssld

I wrote a very short code like this, and it works.

#include <iostream>

using std::cout;

int main(){
    int32_t a = 8;
    cout << a;
    return 0;
}

but i didn't add a line like this:

#include <cstdint>

this header is in the tr1, and not included in the mingw 3.4.5
can i use all the functions of cstdint without including it?

Jenna

Quote from: thssld on June 07, 2009, 03:40:56 AM
I wrote a very short code like this, and it works.

#include <iostream>

using std::cout;

int main(){
    int32_t a = 8;
    cout << a;
    return 0;
}

but i didn't add a line like this:

#include <cstdint>

this header is in the tr1, and not included in the mingw 3.4.5
can i use all the functions of cstdint without including it?

Question not related to C::B and therefore violating our forum rules.

Ask in a MinGW / c++ forum.

Topic locked !!