Your beautiful hands turn me on...
I'm going to make it so dry for you.
Your beautiful hands turn me on...
I'm going to make it so dry for you.
It's a much simpler and better solution just to have a lookup table of all the nonobvious board positions modulo rotation and reflection.
What's stopping you from making one?
Yes, I can. Why can't you?
Huh? I did not say that at all.
Is there any other software by which i can make a very nice UI.
Well, define "very nice." The niceness of a UI depends on the developer. How is VS 2008 stopping you from making a nice UI?
Whoa, what a huge spergation.
Suppose the datatype you're using to hold an IP address is called IPAddress. Then you would want to use a List<IPAddress>
to hold your IP addresses. If the datatype you're using is string, you'd want to use a List<string>
. If a uint, use List<uint>
.
What? Why did you suddenly start using C?
Thanks, you are very good at searching and locating information, maybe because your first language is english.
No, I could easily search in French.
I disagree :(
The img tags are messed up.
See the class System.Text.RegularExpressions.Regex.
Really? Okay... Then what about
ABC 1000 10 BUY
ABC 1000 10 SELL
ABC 1100 10 BUY
I can't see what algorithm you're using to conglomerate these things.
Do you understand how arrays work?
That code
is awful.
I would so make fun of you for that.
Show the code that defines the variables txt00 through txt88, so that we can put them in an array.
If I were you, I would regard each of your details, 1, 2, and 4, as an individual problem to write a function for. Then the program is a simple combination of these functions, meeting detail 3.
You could start with a function that gets the input from the user.
Stupid questions don't exist
They so do exist.
"Then why does it taste so salty?"
You want to calculate the n-term series and not the infinite series?
What help do you need?
Okay. And what should the output be with the following input?
ABC 1000 11 BUY
ABC 500 10 SELL
The transformation you have given isn't well-explained. What would be the output if the input were the following:
ABC 1000 10 BUY
ABC 500 10 SELL
Your "line equation" is wrong -- you have defined a point.
No, I don't.
I don't understand, no.
Of course it's possible to have a space between them. And you can check if some particular file has that space, too.
Take your description for how a pointer to a T works.
That description works even when T is a pointer to a U.
What do you mean "post space between them"?
In that case, the right solution would still be to use the closed form expression :)
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 :)
So there's your problem. If array2 gets stored 'X' when i is even and 'O' when i is odd, it will just contain { 'X', 'O', 'X', 'O', 'X', 'O', 'X', ... }
You should be using the turn number to figure out whether to write an X or an O, and you should be using the user's input to figure out what square to write the X or O to.
I assumed you would have no problem spotting the errors, but alas, some are still unnoticed.
Sounds like an introductory book to me. It's not an introduction to Java, though -- it's an introduction to data structures.
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 atoi(myStr.c_str())
No.
Use the extension method System.Linq.Enumerable.OfType<TResult>:
foreach(TextBox tb in this.Controls.OfType<TextBox>())
{
tb.Text = "";
}
here is the corrected version :
You have errors.
Can you please share your answer publicly once again.
The answer has not been deleted from the thread.
I'm am new in the IT thing and looking for someone to help me with the code(all of it).
So your real problem is that you don't understand C#? Then you need to learn C#.
Simulate the code by hand, on paper. Then you'll understand.
Which steps don't you understand?
No. It should be obvious. Do your own homework.
It's setting the array elements positioned at multiples of i to false. That's because they're not prime numbers (beacuse they're a multiple of some number).
Put the common functionality in the same dll -- or better yet just use a version control system with subprojects.
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.
Ooh, the swapping concept! WTF.
You think you're important? That must make you feel special.
The quality of the forum is what's important, and when members post stupid things, that misinformation must be quashed.