That's a good increase of code cleanliness. Adopted, thanks!
Type: Posts; User: Delicieuxz
That's a good increase of code cleanliness. Adopted, thanks!
It ended up being that this was the solution.
class DayDisplay{
private NumberDisplay dayNumber;
public static final int NUMBER_OF_DAYS_IN_WEEK = 7;
The two same names shouldn't conflict, as the instance variable is references using this.dayNumber, wheres the local variable is simply referred to as dayNumber. The directions did encourage...
This isn't C related, but I figured there could be help here for this.
I'm taking an objects oriented class and have an asignment which instructs, in two different places "Create a class called...
Hey, thanks for being a jerk, and also thanks for not reading the OP. Why doesn't someone write history about not being able to properly consider OPs? I expect that nobody is going to instinctively...
I've done a search for this, and the answer is typically just some smug person telling that C is written in C. I don't get why people refuse to give the type of answer that they know is sought. Sorry...
Neat, thanks!
If it doesn't, is there a good free program to use for this?
I'm interested in writing Java \ C++ on a tablet with a keyboard dock.
I'm considering getting a tablet so I can code on it using a keyboard dock. The battery life is extremely attractive over a laptop, and it would offer much more portability with much less hassle and...
Not conforming to a standard wouldn't make it wrong, just not-conforming. If it caused some erroneous functioning, I think that would make it wrong.
>> FAQ > main() / void main() / int main() /...
Looking online, the only answer seems to be "because void main is wrong", with no explanation of why it's wrong. Does something about a program not work, or function differently if void main is used?...
Probably in making smaller games, like early 90s PC games, but I want to really write them from the ground up, using as little pre-build resources and programming assists as possible. Making...
I'm going off something, or things that I read a while ago, or at least my impression of them. I'm studying object oriented language concepts in school at the moment, but my goal has always been to...
Hi. I'm trying to follow along with this SDL sidescroller tutorial:
SDL tutorial 20 - Sidescroller game (part 3) - example program 7 - YouTube
I'm using VS'10, and I've followed the directions...
Thanks for that information, it has helped me get a better feel for what's ahead :)
Correct:
I'm very new to programming and I'm just trying to scratch a curiosity itch here.
If making DOS-type 2d games with sprites, what different components would one have to be familiar with?
Would...
Ah, right. I didn't grasp that part while studying earlier. It clicked afterwards. Thanks.
When you're genuinely learning, you often either feel that your question is idiosyncratic, or are...
I'm just learning, but at this point it seems to me that there isn't a difference between an enumerator and creating you own data type of the "typedef const unsigned int" format. Am I not seeing the...