User forums > Using Code::Blocks
Use int32_t without using cstdint?
(1/1)
thssld:
I wrote a very short code like this, and it works.
--- Code: ---#include <iostream>
using std::cout;
int main(){
int32_t a = 8;
cout << a;
return 0;
}
--- End code ---
but i didn't add a line like this:
--- Code: ---#include <cstdint>
--- End code ---
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.
--- Code: ---#include <iostream>
using std::cout;
int main(){
int32_t a = 8;
cout << a;
return 0;
}
--- End code ---
but i didn't add a line like this:
--- Code: ---#include <cstdint>
--- End code ---
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?
--- End quote ---
Question not related to C::B and therefore violating our forum rules.
Ask in a MinGW / c++ forum.
Topic locked !!
Navigation
[0] Message Index
Go to full version