- Strength to Increase Rep
- +12
- Strength to Decrease Rep
- -3
- Upvotes Received
- 115
- Posts with Upvotes
- 94
- Upvoting Members
- 44
- Downvotes Received
- 14
- Posts with Downvotes
- 13
- Downvoting Members
- 7
Software Developer
- Interests
- programming, anime, knitting, going in circles on the Internet
789 Posted Topics
| |
Re: Logical arguments are most difficult to argue with | |
Re: I'll either have pasta or leftover pizza for dinner. And probably some Scotch afterwards, though maybe Vodka+lemonade... | |
Re: For me it's been school, but I've spent a lot more time there than any of the others... :P | |
Re: The one problem I see is that you can't compare floating point numbers directly. Here's a re-write with slightly different logic (you can keep yours if you want, they're about the same) and a better way to compare the doubles: [code] #include <cmath> #include <limits> triangleType triang(double a, double b, … | |
Re: > That's a pretty sudden switch. Aren't both Onegai Teacher and Onegai Twins romantic comedies? Lol, yeah they are :P [URL="http://anidb.info/perl-bin/animedb.pl?show=myvotes&uid=103943"]here[/URL]'s the list I keep track of things on. Easier to pull this out than to remember all the series I like... :P | |
Re: Also, strcmp will tell you the relative ordering of the strings rather than simply if they are equal, if you needed that as well. | |
Re: The reason cp -r source/*.h is not working is because you've only told it to look at .h files. For that reason, it doesn't copy the child directory (since it's not a .h file itself), much less its contents (though [I]they[/I] may be .h files). | |
Re: Most companies (at least around here) don't worry about your expertise in any particular language but how you solve problems. Like ProgrammersTalk said, go through a lot of practice problems, and try to always come up with the most efficient solution. Have a good grasp of algorithms and how to … | |
Re: If you're copying something, you need to allocate memory and then copy the appropriate values in. When dealing with strings, however, there's several library functions that'll help you along the way: [code]char* a = "hello world"; char* b; b = strdup(a); // allocates and makes a copy of a // … | |
Re: A double pointer has two basic meanings. One is of a pointer to a pointer, where changing the value of double pointer will result in the original pointer being changed. Another is that of a two-dimentional array, such as a matrix, or a list of char* (e.g. in main when … | |
Re: "Iraq's got WMDs" "It'll only take a minute" "Just one more drink" and the greatest of all: "of course that dress doesn't make you look fat" | |
Re: [quote=Lardmeister;455665]President Bush may not know how to pronounce "nukilar" correctly, but he knew all about carbondioxide net usage of the USA, in contrast to Al Gore.[/quote] :D Finally, I've found someone who understands... There's also potentially severe economic affects that may have come into play by signing the Kyoto Protocol... … | |
Re: I don't see the reason for the 3rd loop [code]for(int k = 0; k < 14; k += 2) cout << endl; [/code] You'll be outputting 7 newlines between rows of stars... is that what you meant to do? | |
![]() | Re: Just to give you an idea, my laptop has a 100GB hard drive (well, 87 after marketing scams and a recovery partition), and with Vista Ultimate, VS 2008 Team Suite, Office 2007 Ultimate, a handful of other small programs and about 25GB of music I still have 15GB left over. |
Re: Error 500 I put in whoever replies to this... :P | |
Re: Out of curiosity, why do you need to port it to C#? Why not just use VB.NET for the code base? That said, you'll probably want to just make a table and format/fill it according to your needs. | |
Re: [quote=mkadwa;286277]BTW, I must admit that this code is really crappy. Today, a developers time is MORE valuable than memory or CPU processing speed; thus, always write easy to read maintainable code![/quote] Unfortunately, developers still do have to worry to some extent about CPU and memory usage. Thinks like memory leaks … | |
Re: First guess would be that your PATH environment variable is screwed up. If you go to Start, right click Computer, select properties, hit the Advanced System Settings link, and then hit the Environment Variables button, you should be able to find the Path. Make sure it's not empty. | |
Re: [quote=planetxmail;386957]However, we can not dismiss microsoft for what it has gave to computers. If anything Microsoft has taught us this... Do not allot a single company so much power else single CEO's chairmen and Executives that do not code anything get insanely rich.[/quote] If it were only the coders who … | |
Re: [quote=Ancient Dragon;314174]40-60K is only starting salary. professionals with experience can often get a lot more than that. On the west coast (USA) you could easily get double that amount -- of course you will need it because it will cost tripple to live there :)[/quote] Yes, here on the west … | |
Re: [quote=~s.o.s~;313027]LF or newline is a character which belongs to the ASCII character set. Is priting out characters using streams non portable ? Cit any one situation which showcases its non portability....[/quote] Newlines on some systems are done with \r, \n, or \r\n (I forget which goes with which). Hence, non-portable. | |
Re: [quote=jbennet;312563]i hate ubuntu server sudo on a server is dumb it teaches bad practice[/quote] Why exactly is sudo so bad? It seems to me like the usual FUD people throw around with goto statements... | |
Re: [tex]2^{\lfloor\log_2{2401}\rfloor + 1} = 4096[/tex] | |
Re: [quote=Narue;355442][URL]http://www.yui-net.com/[/URL] My favorite is definitely "Good-Bye Days" from that album.[/quote] I tried to listen to the samples, but they seem to be for IE only... :'( | |
Re: [QUOTE=jbennet;505393]i read in a MSDN blog about a C#.NET based system.[/QUOTE] Probably similar to Sun's approach wherein they had a small bootloader (written in C, IIRC) which would load the JRE and then treat the JRE as the OS | |
Re: [quote=rmaheshmsc;432130]hey use the following code in the web.config file in u r application <session timeount="10000" /> Where 10000 in minutes......[/quote] Not only did you change units between your posts (from seconds to minutes), but you blatantly ignored the post describing why this method would be ineffective. :icon_rolleyes: | |
Re: [quote=cecil.vera;318737][B]zearst [/B][/quote] tazers? [quote=vishesh;318768]Pcseetr[/quote] scepter | |
Re: well, I got 140 so I can't complain too badly. But by the last 5 I was really not caring much. How do they get your IQ based simply on pattern matching? And why is there only one correct answer for each one? Seems like people would process things differently, … | |
Re: You're definitely on the right track, but a little off. First, the array is given to you as the parameter, so you don't need to make another one. And your logic is slightly off in the if statement. Try something like this: [code] public int countOdds(int[] data) { int oddCount … | |
Re: If you want to get a better idea of configuring a Linux distribution (or as some may claim "how they work"), I'd recommend one of the less "noob-friendly" (or more "advanced") distros like Gentoo, Slackware, Arch, or Linux From Scratch. My personal favorite distro is Gentoo, though it is admittedly … | |
Re: [QUOTE=crithmas;518451][COLOR="Red"]Pleas iwant save need f[COLOR="Red"][/COLOR]or speed underground 2[/COLOR][/QUOTE] Have you considered that most of us don't have the game? How should we know? That said, my [i]guess[/i] is that it saves somewhere in the program directory (so you can load saved games from multiple user accounts). Look under the Program … ![]() | |
Re: I'd say you'd be using the array as a hash table. Sorry for digging up a 4-day old thread ;) | |
Re: You should have received a disc with the computer that would have the appropriate restore functions; there may be a partition with another restore solution, but I've never actually used that so I don't know how it works. | |
Re: Piracy being one of the best trollbait topics available for discussion, I may as well chip in. :icon_twisted: On the one hand, I'll also agree that a lot of it is due to limited business models otherwise. I'll admit that I've done it with various media before (lots of anime, … | |
Re: Sounds a little like a problem in the computer labs at school. Don't know what causes it, though some people claim it's the monitors. I'm not advocating splurging on a new monitor, but if you have a spare laying around you might try it... | |
Re: [inlinecode]int arrayOfArrays[2][3][/inlinecode] will make an array of 2 integer arrays of length 3 each. A 2x3 if you will. | |
Re: I can't narrow it down to 3. But Hellsing was in there somewhere. | |
Re: [quote=mattyd;322056]That's [B]excellent.[/B][/quote] Or it means you need a few challenging classes ;) /me goes off to grumbling about graduating from HS 112th in his class with a 3.5... | |
Re: The LiveCD idea just doesn't fit with Gentoo's ideology. The idea of having a Gentoo box that's automatically configured just seems... not Gentoo-ish at all. And as mentioned, Gentoo is not for everyone; rather, it's for the select few... | |
Re: Unfortunately, it won't always be accurate unless you go to great pains. This is due to there being multiple rules (and exceptions to those rules) for the English language. | |
| |
Re: Just a brief look through the API (starting from JFrame's setDefaultCloseOperation()) took me to WindowListener, which might be what you're looking for. | |
Re: Yes, the day after Christmas. My car was totalled. :'( Ever been in court? | |
Re: It just happens in the ALU. The op and funct bits for SLL are all 0, btw. Also, NOP is treated as SLL r0, r0, 0. | |
Re: Not big on word games myself, but sometimes I get bored... :p |
The End.