3.01.2017 (19:57:15)
RayeR
:
Ne, spolehnout se na to neda, at si pisou v nake ucebnici co chteji. Zrejme pochaiz z doby, kdy este nebyly zadne 64b systemy....
Since pointer, int, and long are no longer the same size on 64-bit systems, problems may arise depending on how the variables are assigned and used within an application. A few tips in this regard:
Do not use int and long interchangeably because of the possible truncation of significant digits.
takze lze pocitat jen s nakou minimalni velikosti typu ale maximalni se muze lisit. V pohode muzu pouzit int, kdyz vim, ze mi postaci 16b nebo long kdyz mi postaci 32b a nepotrebuju pevnou velikost.