Posts
 
Reputation
Joined
Last Seen
Ranked #90
Strength to Increase Rep
+12
Strength to Decrease Rep
-3
88% Quality Score
Upvotes Received
115
Posts with Upvotes
94
Upvoting Members
44
Downvotes Received
14
Posts with Downvotes
13
Downvoting Members
7
89 Commented Posts
~424.06K People Reached
About Me

Software Developer

Interests
programming, anime, knitting, going in circles on the Internet
Favorite Tags

789 Posted Topics

Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for Duki

I'll either have pasta or leftover pizza for dinner. And probably some Scotch afterwards, though maybe Vodka+lemonade...

Member Avatar for Dani
22
17K
Member Avatar for Lardmeister

For me it's been school, but I've spent a lot more time there than any of the others... :P

Member Avatar for Dani
0
121
Member Avatar for mattyd
Member Avatar for Duki

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, …

Member Avatar for Dani
1
5K
Member Avatar for samaru

> 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

Member Avatar for thompsonmax
1
3K
Member Avatar for rugae

Also, strcmp will tell you the relative ordering of the strings rather than simply if they are equal, if you needed that as well.

Member Avatar for Nikolay_2
0
4K
Member Avatar for Shane_Warne

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).

Member Avatar for davidchengnoc
2
3K
Member Avatar for smapira

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 …

Member Avatar for Theirligh
0
693
Member Avatar for Covinus

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 // …

Member Avatar for Tuyen
0
5K
Member Avatar for johnray31

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 …

Member Avatar for Bharat_1
0
16K
Member Avatar for >shadow<
Member Avatar for ndeniche

"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"

Member Avatar for chrishea
0
1K
Member Avatar for Lardmeister

[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... …

Member Avatar for sneekula
2
2K
Member Avatar for steveincolorado

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?

Member Avatar for maaz0088
0
399
Member Avatar for ingeborgdot@yah

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.

Member Avatar for alexloubert
0
199
Member Avatar for OurNation
Member Avatar for dudegio

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.

Member Avatar for LiDmX
0
149
Member Avatar for dannyfang

[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 …

Member Avatar for Sokurenko
0
664
Member Avatar for DeViAnT\gAmEr

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.

Member Avatar for maymonaise
0
369
Member Avatar for aripaka

[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 …

Member Avatar for itexamstube
0
3K
Member Avatar for pyro 214

[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 …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for fesago90

[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.

Member Avatar for seanwalsh1984
0
573
Member Avatar for spice

[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...

Member Avatar for stgb
0
987
Member Avatar for Duki
Member Avatar for Serunson

[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... :'(

Member Avatar for blackcathacker
0
1K
Member Avatar for viperman224

[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

Member Avatar for davidkeeler63
-1
796
Member Avatar for Shruthi_R

[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:

Member Avatar for prashantprof
0
564
Member Avatar for anti_genius
Member Avatar for Duki

[quote=cecil.vera;318737][B]zearst [/B][/quote] tazers? [quote=vishesh;318768]Pcseetr[/quote] scepter

Member Avatar for magicianM
0
2K
Member Avatar for ~s.o.s~
Member Avatar for Borzoi
0
725
Member Avatar for The Dude

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, …

Member Avatar for happygeek
0
193
Member Avatar for cassyjack

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 …

Member Avatar for jon.kiparsky
0
2K
Member Avatar for Jaseva

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 …

Member Avatar for peter_budo
0
382
Member Avatar for pokemonlegend

[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 …

Member Avatar for W1ND0W5
3
12K
Member Avatar for algo_man

I'd say you'd be using the array as a hash table. Sorry for digging up a 4-day old thread ;)

Member Avatar for arkoenig
0
149
Member Avatar for Jackal2044

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.

Member Avatar for tipsbabygirls
-5
3K
Member Avatar for zandiago

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, …

Member Avatar for jon.kiparsky
2
980
Member Avatar for Duki

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...

Member Avatar for webdevctk
0
167
Member Avatar for Matt Tacular

[inlinecode]int arrayOfArrays[2][3][/inlinecode] will make an array of 2 integer arrays of length 3 each. A 2x3 if you will.

Member Avatar for chanthutshamsu
0
169
Member Avatar for majestic0110
Member Avatar for Kusanagi03
0
352
Member Avatar for Duki

[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...

Member Avatar for dream party
0
348
Member Avatar for mattb0611

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...

Member Avatar for uJen2u
0
750
Member Avatar for sneekula

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.

Member Avatar for TrustyTony
0
6K
Member Avatar for OurNation
Member Avatar for Cerberus

Just a brief look through the API (starting from JFrame's setDefaultCloseOperation()) took me to WindowListener, which might be what you're looking for.

Member Avatar for leiger
0
617
Member Avatar for eXceed69

Yes, the day after Christmas. My car was totalled. :'( Ever been in court?

Member Avatar for reach_yousuf
-1
5K
Member Avatar for DYE

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.

Member Avatar for asra62
0
814
Member Avatar for mattyd
Member Avatar for briangreen143
0
199

The End.