|
... What?
All he did was provide a good critique that you should learn from and some code that has more than a snowball's chance of working.
|
|
|
|
|
Critique? I did not ask for critique, I asked for help. Which he pretended he gave, but actually did not give at all.
|
|
|
|
|
Look, if you aren't up to working out what he said, that's your problem. The answer he have was helpful:
Your code couldn't possibly run, was inefficient and poorly designed. He covered each of those points. He even gave you a sample of code that fixes those problems.
I suggest you read the other comments and figure out why you are wrong, rather than attempting flip answers.
|
|
|
|
|
Megidolaon wrote: All you did is provide some vague comments that are unusable and post code that does exactly the same thing as mine.
Except that yours does nothing, that you can verify anyway. You were given a reason for this, have you investigated it?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Megidolaon wrote: int data = 0;
while (data > 0) ...
and how many iterations will this loop execute in your opinion?
|
|
|
|
|
I'll give him a clue: it's the same value as data . Lets see if he cracks the code
|
|
|
|
|
My vote of 1... Try doing a bit of the thinking yourself. He provided you exactly what you need to get it going. All you have to do is follow instructions.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
All you did was provide code that couldn't possibly work. Luc provided reasons why, and a practical suggestion on how to take your code forwards. Luc's comments were valid, pertinent and usable - if you think his code does the same as yours, I suggest that you need to step through the code line by line. BTW - had you actually bothered to debug your application, you'd have spotted that you could never step into the loop.
|
|
|
|
|
Megidolaon wrote: and post code that does exactly the same thing as mine.
With one major difference, your code will never work, Luc's always will.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Signature material. Hijacked.
|
|
|
|
|
Fame at last!
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I have a question here: Do you want somebody to do your job or do you want to learn?
If you want somebody to do your job, then look for a professional, ask him to do the job and pay him for it.
If you want to learn then read again Luc's answer and try to apply his advices. Additionally, you might say "Thank you for your time" or nothing at all, but this kind of reply is a great invitation to blacklist you and do never answer any other of your questions.
|
|
|
|
|
Megidolaon wrote: Or is this approach wrong in the first place?
As you said it is a local network so why not just use the OS to do the transfer?
And if there is some security reason for that then just set up a ftp server and client.
|
|
|
|
|
How we can write a program with c# for Approximation Taylor and Furie series with neuro network .
|
|
|
|
|
Hi,
You have two choices :
- use a basic text editor
- use an IDE
More seriously, as you're new to these forums, there are several rules to follow when you post some questions :
- don't post your question at several places ; rather find the right forum and post it in that place
- post precise questions, show what you have searched/done so far, with pieces of code and error messages relevant to your problem. No one is gonna make google searches for you.
I suggest you first read the forum guidelines before posting.
Regards.
|
|
|
|
|
I find that breaking the problem down into ever smaller problems, and solving those problems all the way down the chain helps. I tend not to start with the code; I'd rather thrash out the requirements first and then break those requirements down into smaller and smaller requirements until I have a good grasp what problem I'm solving. That's how I'd write the program, but then again I'm just a picky professional developer. How would you go about writing it?
|
|
|
|
|
Just slam the code out and stick it up for Beta. (The Microsoft Technique)
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Leave it beta for ever. (The Google Technique).
|
|
|
|
|
Ooooo, that's below the belt
return 5;
|
|
|
|
|
At work I'd do what Pete suggests: break the problem down into smaller tasks, and break those down further. At some point I'd have a strategy, so I'd start coding.
At home I'd just start coding, get about 6 hours into the problem, then wish I'd done what I would have done, had I been at work.
At university I'd have done what Pete suggests, but I'd make sure it satisfies the lecturer's [programming] peccadilloes, and made it properly documented .
Do you have a Neural Network Yet?
|
|
|
|
|
More to the point - Why would you?
You surely have little experience in programming based on the fact you have posted a question such as this.
If this is an assignment of some sort then you should complain that you have not been taught enough to complete this assignment (unless you skipped those lessons?), or maybe its the first task of your new programming job (which you shouldn't have) - so then I recommend you cough up about your inexperience sooner rather than later
return 5;
|
|
|
|
|
First you have to learn the technique, independently of any programming language. These are two radically different ways of approximating functions, and if it's possible to simulate the series solutions with a neural net, SOMEONE has described this technique SOMEWHERE. Google is your friend (as least for finding information).
|
|
|
|
|
Dear Friends,
I have a datagridview in which there is parent child relationship in rows. I want that If a parent row is checked in the datagrid and any child node corresponding to it is checked then if the user tries to uncheck the Parent Row then the Parent row shouldn't gets uncheck and remains checked.
I have tried to write the code for the same on CELLCONTENTCLICK event and on the CELLVALUECHANGEDEVENT but all in vain
Any kind of help will be appreciable.
Thanks
Varun Sareen (Dot Net Developer)
modified on Wednesday, December 22, 2010 2:02 AM
|
|
|
|
|
Varun Sareen wrote: I have a datagridview in which there is parent child relationship in rows. If a parent row is checked in the datagrid and any child node corresponding to it is checked then if the user tries to uncheck the Parent Row then that row doesn't gets uncheck and
it again gets checked on itself.
Just keep toggling, I mean
If(checked)
uncheck;
else
check;
|
|
|
|
|
Thanks Hiren, for an immediate reply but i am sorry to say that I actually asked the wrong question (there was a little grammar mistake that made the question meaning other way around).
Now I have corrected the question so now if you could look into it and provide me with some answer then that would be appreciable.
Thanks
Varun Sareen (Dot Net Developer)
modified on Wednesday, December 22, 2010 4:21 AM
|
|
|
|