Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
Questionresume data - your idea plz... Pin
Jassim Rahma31-Mar-10 11:43
Jassim Rahma31-Mar-10 11:43 
AnswerRe: resume data - your idea plz... Pin
PIEBALDconsult31-Mar-10 11:52
mvePIEBALDconsult31-Mar-10 11:52 
GeneralRe: resume data - your idea plz... Pin
Jassim Rahma31-Mar-10 11:54
Jassim Rahma31-Mar-10 11:54 
GeneralRe: resume data - your idea plz... Pin
Super Lloyd31-Mar-10 12:31
Super Lloyd31-Mar-10 12:31 
GeneralRe: resume data - your idea plz... Pin
Jassim Rahma31-Mar-10 12:34
Jassim Rahma31-Mar-10 12:34 
GeneralRe: resume data - your idea plz... Pin
PIEBALDconsult31-Mar-10 13:40
mvePIEBALDconsult31-Mar-10 13:40 
GeneralRe: resume data - your idea plz... Pin
Not Active31-Mar-10 13:40
mentorNot Active31-Mar-10 13:40 
Questionmy code runs very slow with visual studio 2008 [modified] Pin
karayel_kara31-Mar-10 11:35
karayel_kara31-Mar-10 11:35 
hi, friends
i wrote a code in c#.net and it's ok.
but i have a problem which is running slow
i hope thare is some suggestions

my code is folow

static void calis(int rer, int dizin)
{


while (it < iterasyon && mmse <= 0.00001)
{
mmse = 0;
mae = 0;
for (int nf = 0; nf < orneksay; nf++)
{
mmse += hesaplas(ndata, nf);
trains(nf);

}//nf

mmse = 0.5 * (mmse / (orneksay * nron));

if (it % 100 == 0)
{
yazs.WriteLine(mmse.ToString());
yazs.Flush();
}
it++;


}//it

dosyas.Close();
yazss.WriteLine(rer.ToString() + " " + mmse.ToString() + " " + it.ToString());
yazss.Flush();
dosyass.Close();

}
}

i call calis function and i see cpu usage %25
mey it improve its performs ?
can you help me?
regads.
modified on Thursday, April 1, 2010 2:53 AM

AnswerRe: my code runs very slow with visual studio 2008 Pin
Luc Pattyn31-Mar-10 11:44
sitebuilderLuc Pattyn31-Mar-10 11:44 
AnswerRe: my code runs very slow with visual studio 2008 Pin
Som Shekhar1-Apr-10 0:27
Som Shekhar1-Apr-10 0:27 
GeneralRe: my code runs very slow with visual studio 2008 Pin
karayel_kara1-Apr-10 1:03
karayel_kara1-Apr-10 1:03 
GeneralRe: my code runs very slow with visual studio 2008 Pin
Som Shekhar1-Apr-10 1:06
Som Shekhar1-Apr-10 1:06 
QuestionReflection error running an application generated through CISCO's AXLAPI.wsdl class service generator Pin
Steve Holdorf31-Mar-10 10:49
Steve Holdorf31-Mar-10 10:49 
QuestionUnable to make cast ( what wrong with my code ... ? ) Pin
Yanshof31-Mar-10 10:01
Yanshof31-Mar-10 10:01 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Ian Shlasko31-Mar-10 10:18
Ian Shlasko31-Mar-10 10:18 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Yanshof31-Mar-10 10:20
Yanshof31-Mar-10 10:20 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Ian Shlasko31-Mar-10 10:22
Ian Shlasko31-Mar-10 10:22 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Yanshof31-Mar-10 10:25
Yanshof31-Mar-10 10:25 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Ian Shlasko31-Mar-10 10:30
Ian Shlasko31-Mar-10 10:30 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Yanshof31-Mar-10 10:35
Yanshof31-Mar-10 10:35 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Ian Shlasko31-Mar-10 10:36
Ian Shlasko31-Mar-10 10:36 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Yanshof31-Mar-10 10:38
Yanshof31-Mar-10 10:38 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Ian Shlasko31-Mar-10 10:43
Ian Shlasko31-Mar-10 10:43 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Yanshof31-Mar-10 11:09
Yanshof31-Mar-10 11:09 
GeneralRe: Unable to make cast ( what wrong with my code ... ? ) Pin
Ian Shlasko31-Mar-10 11:14
Ian Shlasko31-Mar-10 11:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.