I'm sorry Thantos :(
Type: Posts; User: nickname_changed
I'm sorry Thantos :(
Did you stop to think maybe I wasn't talking about your superbowl? Not everything is about you ya know...
What the hell am I thinking.
I'd be interested to see how much of that time is spent in this part:
while (place > 0)
{
roundTo = roundTo * 10;
place--;
}
That's true. However, I think mine will stay at about the same speed no matter what you're rounding to. Yours might be faster rounding to the nearest 100, but is it faster when rounding to the...
I didn't realise he only wanted to round integers. He could just use an integer with mine as well in this case (since he's multiplying by 500). Then he might not even need to do any casting. That's...
Well this is how I round to the nearest whole number:
float someNumber = 798.5600F;
int closestToOneThousand = (int)(someNumber + 0.5);
Adding 0.5 turns it to 799.06. Casting this to an...
Unix/Linux. If you're going to learn a useless language, you may as well use a useless platform ;)
*ducks*
The actual web pages don't need to be OOP. But think about this.
Lets say you've got two pages - one that lists all customers in a detailed grid, and one that just lists their names. The customers...
I love to make methods virtual. The reason is one day, you might decide to create another class inheriting from the one you just made. And you might just decide you need to override GetEnumerator. If...
You can't do a class diagram if you aren't following an object oriented design. It's really that simple.
While you might be able to call each "page" a class, it would be pointless. What do they...
To clear your username/password, right click anywhere in a folder and go TortoiseSVN->Settings and there is a button marked "Clear Now".
Thanks for that link.
Doesn't the new Sourceforge offer...
C++ could be said to be a beginners language in the best sense of the word - it was the language I started with.
C++ is a great language to begin with because it teaches you the hard basics. It...
That's exactly true, and it's the "basic" that's given people the perception it must be a toy language and no real developer would use it.
This is a great place to argue that the best developers...
Visual Basic would be a great one to do it on. Theres a large majority of programmers that bash it because it's so "basic", but in real life it's probably one of the most used languages of all time....
Most work nights I end up sleeping from about midnight till 6am for work, and on weekends I like to stay up late so I'm usually up till 5 or 6 in the morning - but then I crash, sleep for 12-13...
That's understandable. I mean, it's just C# with dumb syntax that gives you RSI because You Have To Type So Much Code Just To Do Something Simple Because Visual Basic Dot Net Is So Verbose Full Stop...
Mine is better
Edit: And also a picture of myself.
It's never a good idea to charge a flat fee for a website. What if you do it, get your $100, and he asks you to change something? Or fix a bug, or do something different because he changed his mind?...
It makes sense to me. Obviously they tried to compile without the comments, but because they don't have any of the people they needed, they had to comment it out. What they should have done is put...
You'll find that's not so much of a problem when you realise most work can be found outside of newspapers and job websites ;)
Why would any sane language insist of wrapping every statement in brackets?
Objection your honor, leading the witness!
I can't confirm Europe (Europeans are always sleeping or on holidays, so maybe they are going to bother releasing it), but I know it's out in the USA, Korea and Australia (me!). But since you can...
I've got keyboards with letters missing - just use the keys a lot and the letters dissapear. I'm sure you could just scrub the keys and achieve the same effect (for less than $80).