| Title |
User |
Message |
Place |
Date Posted |
| Re: Initialization |
bbi5291 |
The exception is for classes that have default constructors, or data items declared static. However, it only takes an extra second to type ={0}, so make sure you do it... |
ccc01s2 |
Jan 14, 2009 - 11:49:14 pm UTC |
| Initialization |
ultblad1 |
In C++, initialization only occurs for global arrays. If you declare a variable within int main or another function, then it contains a random value. |
ccc01s2 |
Jan 14, 2009 - 2:36:39 pm UTC |
| G++ didnt initialize my array for me.. |
taimla101 |
so it worked at school and on my comp, but not on the judge |
ccc01s2 |
Jan 14, 2009 - 2:26:12 am UTC |
| Re: Re: Re: What's wrong with my program? |
bbi5291 |
Note: If you want others' help in debugging your code, you would do well to indent it properly, else lest it be unreadable. |
wc95p1 |
Jan 14, 2009 - 12:28:07 am UTC |
| Re: Spaces |
hansonw1 |
Account# Account # Looks pretty clear to me, but I guess I'll change the font. |
p156ex14 |
Jan 14, 2009 - 12:22:32 am UTC |
| Spaces |
Bob |
Arrgh!! It's so hard to see the spaces in the output!!! Is there a way to make spaces easier to see? |
p156ex14 |
Jan 14, 2009 - 12:03:51 am UTC |
| Re: Re: What's wrong with my program? |
Bob |
I've been looking over it, and I'm pretty sure that isn't the problem (of course, I may hve missed it). |
wc95p1 |
Jan 13, 2009 - 11:36:27 pm UTC |
| Re: ... |
bbi5291 |
A member of the universe of discourse either belongs to the set or does not belong to it; a set contains no duplicates, not unlike the STL container. |
nk |
Jan 13, 2009 - 11:35:45 pm UTC |
| ... |
dAedaL |
I'm guessing numbers must be unique as well? |
nk |
Jan 13, 2009 - 11:32:57 pm UTC |
| Re: Re: Re: Re: Re: Oh My God!! |
bbi5291 |
I think he was joking. |
ccc96s5 |
Jan 13, 2009 - 10:52:35 pm UTC |