We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I've just started processing. I can't understand where to declare and where to initialize variables. Here is a specific example of what I'm asking about. If global variables were effective over the whole program tree, why can't I declare and initialize "float d" at the same time as a global variable? (just like int x=120, int y=60, int radius=12) I'm not a native English speaker, so if my question is not clear, please let me know.