1,684 Posted Topics

Member Avatar for mugdha_2005
Member Avatar for dilip.mathews
Member Avatar for srishekh
Member Avatar for vandenzergen
Member Avatar for winrawr
Member Avatar for taylola
Member Avatar for honeybits

Well gee. You could start by actually paying attention to the user's input.

Member Avatar for efficacious
0
133
Member Avatar for massivefermion
Member Avatar for iamthwee
0
147
Member Avatar for hider

[QUOTE=hider]hi please i am confused with bst complexity what is the complexity for[/QUOTE] Wait a second. You can't ask for a complexity without giving us algorithms. You've only explained the function of the algorithms, not the implementation. You haven't asked if you want a worst-case, average-case, or best-case value. Generally …

Member Avatar for thoughtcoder
0
141
Member Avatar for iaaan

I'm pretty sure you need to take the individual sample values and scale them up (or down).

Member Avatar for MHC
0
486
Member Avatar for bond124
Member Avatar for viper34j

Haskell. It's not object oriented -- it's better than object oriented. I "recommend" this because it's my language of choice, but there's a huge learning curve, so it's not ideal.

Member Avatar for Intrade
0
215
Member Avatar for Dave Sinkula

[QUOTE=sk8ndestroy14;393819]They just passed a law in Ohio making it illegal to smoke in indoor public places. I'm glad. If you can't go one meal in a restaurant without smoking you need to start backing off of it some.[/QUOTE] Are you so full of yourself that you think it's your place …

Member Avatar for jbennet
0
4K
Member Avatar for Joka527

There's some other code generated that refers to the button1_Click method -- look around for it, it's probably folded up somewhere. I can guarantee that simply adding that method is unsufficient to put an event handler in place. Edit: Right click the method when it's auto-generated, and click "Find All …

Member Avatar for bcasp
0
172
Member Avatar for kahaj
Member Avatar for albertoro
Member Avatar for sophia77
Member Avatar for tanu.rajgor
Member Avatar for alc6379
0
268
Member Avatar for jcoder

First, make your life easier by making a function [code] (define (name x) (cond ((pair? x) 'pair) ((symbol? x) 'symbol) (else (error "i don't know how to handle this case")))) [/code] Once you have this, make a recursive function that takes three arguments: a symbol (whose value is 'pair or …

Member Avatar for harzipan
0
99
Member Avatar for serkan sendur

Your beautiful hands turn me on... I'm going to make it so dry for you.

Member Avatar for Ancient Dragon
1
668
Member Avatar for tanu.rajgor
Member Avatar for its.romi
Member Avatar for tendolm
Member Avatar for serkan sendur

byte is an unsigned 8-bit integer whose values range from 0 to 255. char is a 16-bit unicode character type. If you want to represent raw streams of bytes, you'll use bytes. You could also parse the stream of bytes by assuming it uses some sort of encoding, like UTF-8 …

Member Avatar for serkan sendur
0
4K
Member Avatar for papuccino1

Yes, they use databases. When we install software on a client we have some huge SQL files that create all the tables, indexes, and restrictions that we need.

Member Avatar for papuccino1
0
140
Member Avatar for ITech
Member Avatar for AlSal

Take your description for how a pointer to a T works. That description works even when T is a pointer to a U.

Member Avatar for siddhant3s
0
70
Member Avatar for db11

[QUOTE=ddanbe;824430]Stupid questions don't exist[/QUOTE] They so do exist. "Then why does it taste so salty?"

Member Avatar for papuccino1
0
2K
Member Avatar for mastermosley

Suppose the datatype you're using to hold an IP address is called IPAddress. Then you would want to use a [icode]List<IPAddress>[/icode] to hold your IP addresses. If the datatype you're using is string, you'd want to use a [icode]List<string>[/icode]. If a uint, use [icode]List<uint>[/icode].

Member Avatar for mastermosley
0
84
Member Avatar for dollycharm
Member Avatar for cause&effect

You're missing braces, for one. And you only have 4 win conditions -- tic tac toe has eight. Why are you using the variable i in the win condition? The win condition has nothing to do with the turn number.

Member Avatar for Antenka
0
93
Member Avatar for tksabin

[QUOTE=tksabin]Is there any other software by which i can make a very nice UI. [/QUOTE] Well, define "very nice." The niceness of a UI depends on the developer. How is VS 2008 stopping you from making a nice UI?

Member Avatar for tksabin
0
90
Member Avatar for serkan sendur
Member Avatar for ITech
Member Avatar for serkan sendur
Member Avatar for Rashakil Fol
0
101
Member Avatar for serkan sendur
Member Avatar for trinity_neo

Well it's almost like the series for exp(x), except the signs are alternating and it's missing the x^1 term and the x^0 term has the wrong sign. If consider the series you get for exp(-x), you should be close to the answer :)

Member Avatar for siddhant3s
0
174
Member Avatar for snap!

[QUOTE=serkan sendur;823248]here is the corrected version : [/QUOTE] You have errors.

Member Avatar for Nick Evan
0
174
Member Avatar for TidusBlade

Sounds like an introductory book to me. It's not an introduction to Java, though -- it's an introduction to data structures.

Member Avatar for TidusBlade
0
359
Member Avatar for veledrom

[QUOTE=serkan sendur;821921]That is the bad side of free software, it is always hard to find answers, when you stuck nobody takes care of you.[/QUOTE] That is a completely retarded thing to say. Nobody at Microsoft cares about you either. People at Firefox care more because they realize the privacy implications …

Member Avatar for veledrom
0
117
Member Avatar for serkan sendur
Member Avatar for eswarsure

You can't do it with just ternary operators. You also need to use comparison operators.

Member Avatar for Dhaneshnm
0
125
Member Avatar for brianknott844
Member Avatar for sid78669
Member Avatar for KevinADC
0
97
Member Avatar for guest7

You need some way to convert strings to ints. One way is to use a stringstream, another way, after verifying that all characters of the string are digits and that there is one or more of them, is to use [icode]atoi(myStr.c_str())[/icode]

Member Avatar for Ancient Dragon
0
88
Member Avatar for ctrl-alt-del

Use the extension method System.Linq.Enumerable.OfType<TResult>: [code]foreach(TextBox tb in this.Controls.OfType<TextBox>()) { tb.Text = ""; }[/code]

Member Avatar for Rashakil Fol
0
110
Member Avatar for serkan sendur
Member Avatar for serkan sendur

Put the common functionality in the same dll -- or better yet just use a version control system with subprojects.

Member Avatar for serkan sendur
0
94
Member Avatar for priyag123
Member Avatar for serkan sendur

The End.