const explained please
#7

Yeah, I like to be a smartass and set up a value to keep me reminded that i shouldn't use that value or cross that same value.

You can also use sizeof(CameraPosition) to see the actual size if you need to loop it or just check.


Edit: No you can set it empty and the compiler will itself calculate its size as Vince said.
Reply


Messages In This Thread
const explained please - by AndreiWow - 31.01.2017, 17:12
Re: const explained please - by Runn3R - 31.01.2017, 17:13
Re: const explained please - by AndreiWow - 31.01.2017, 17:17
Re: const explained please - by Runn3R - 31.01.2017, 17:20
Re: const explained please - by Vince - 31.01.2017, 17:21
Re: const explained please - by AndreiWow - 31.01.2017, 17:22
Re: const explained please - by Runn3R - 31.01.2017, 17:24
Re: const explained please - by AndreiWow - 31.01.2017, 17:26
Re: const explained please - by Runn3R - 31.01.2017, 17:27
Re: const explained please - by AndreiWow - 31.01.2017, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)