0

So what is the size of an int? In the Console it says 4, but on the Summary it says 2 ( for standard int, not short)?

4th Apr 2016, 3:18 PM
Patrick White
Patrick White - avatar
2 Respostas
+ 2
The size of an int depends on your OS and if it is 32 or 64 bit. Some libs like SFML have fixed-size variables like sf::Int32. You can check the size of int by executing the following line of vode: cout<<sizeof(int);
5th Jul 2016, 7:49 AM
Mihai Dancaescu
Mihai Dancaescu - avatar
4th Apr 2016, 3:25 PM
Patrick White
Patrick White - avatar