Zero width
in
Programming Questions
•
1 year ago
Why does this code print "0" for the variable dwidth?
- void setup () {
size(1900, 1020);
background(0);
}
int dwidth = width;
void draw() {
println(dwidth);
}
1