Questions tagged [label]
The label tag has no usage guidance.
5
questions
0
votes
1
answer
99
views
Why won't my scoreboard appear in breakout.c?
I can't for the life of me figure out why my scoreboard won't appear in the middle of the screen. I checked out the question @Agata S. posted (link below) but it didn't help me resolve my code's bug. ...
0
votes
2
answers
435
views
Pset3 (breakout) -- problems initiating score label
Below is the code I'm using to initiate the label showing the score. Unfortunately, the label doesn't appear on the screen, and I'm clueless as to why that is the case. I'd very much appreciate any ...
0
votes
1
answer
347
views
pset3 --> label
in pset3 --> breakout
I haven't been able to make the Scoreboard (label) to update after each brick broken or ball touching the bottom.
I am printing in the gedit terminal the values of "lives" and "...
-1
votes
1
answer
69
views
Why do we need 3 characters to store integers as strings?
I don't understand how this code works:
for (int i = 50; i >= 0; i--)
{
char s[3];
// convert i from int to string
sprintf(s, "%i", i);
}
Why do we need 3 characters to store 50 ...
1
vote
2
answers
595
views
Make label with different name's other than label.c
My question is why I cannot simply make a different version of label.c with another file name? Let's say I save it as labelTest1.c; I get this error:
jharvard@appliance (~/Dropbox/src5m): make ...