Questions tagged [label]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
591 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 ...
0
votes
1answer
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
2answers
434 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
1answer
342 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
1answer
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 ...