Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 1:57
Yustme11-Mar-10 1:57 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 2:04
Kristian Sixhøj11-Mar-10 2:04 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 2:13
Yustme11-Mar-10 2:13 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 2:25
Kristian Sixhøj11-Mar-10 2:25 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 2:33
Yustme11-Mar-10 2:33 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 4:22
Kristian Sixhøj11-Mar-10 4:22 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 6:41
Yustme11-Mar-10 6:41 
QuestionNeed help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes10-Mar-10 23:48
suprsnipes10-Mar-10 23:48 
Hi,

This is my code.

I'm a newbie to c# and I have been working on this for a few days.

{
			readText = File.ReadAllText("C:\\PIn.txt");
				
			string [] split = readText.Split(new Char [] {' '});
			
			int splitCounter = 0;
			
			foreach (string s in split)
			{
				splitCounter++;
				
				if (splitCounter == 1)
				bn1 = double.Parse(s);
				
				if (splitCounter == 2)
				bn2 = double.Parse(s);
				
				if (splitCounter == 3)
				bn3 = double.Parse(s);
				
				if (splitCounter == 4)
				bn4 = double.Parse(s);
			}
			Print("Pn: " + pn1 + " " + pn2 + " " + pn3 + " " + pn4);


As you can see I've used Print to make sure it is working but I am having a huge amount of trouble moving forward...please help. It's an important step for me.

Regards,
suprsnipes
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
OriginalGriff11-Mar-10 0:11
mveOriginalGriff11-Mar-10 0:11 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
peropata11-Mar-10 0:21
peropata11-Mar-10 0:21 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Keith Barrow11-Mar-10 0:31
professionalKeith Barrow11-Mar-10 0:31 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 1:37
mveRichard MacCutchan11-Mar-10 1:37 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 1:48
suprsnipes11-Mar-10 1:48 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
KenKen Wong11-Mar-10 2:10
KenKen Wong11-Mar-10 2:10 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 2:19
suprsnipes11-Mar-10 2:19 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
OriginalGriff11-Mar-10 3:57
mveOriginalGriff11-Mar-10 3:57 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 2:33
mveRichard MacCutchan11-Mar-10 2:33 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 2:58
suprsnipes11-Mar-10 2:58 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Keith Barrow11-Mar-10 3:15
professionalKeith Barrow11-Mar-10 3:15 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 4:37
mveRichard MacCutchan11-Mar-10 4:37 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 5:13
suprsnipes11-Mar-10 5:13 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 6:33
mveRichard MacCutchan11-Mar-10 6:33 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
DaveyM6911-Mar-10 8:26
professionalDaveyM6911-Mar-10 8:26 
QuestionWeb Service authentification server site Pin
olibara10-Mar-10 23:17
olibara10-Mar-10 23:17 
QuestionProblem with list with generic filter predicate. Pin
ddecoy10-Mar-10 22:47
ddecoy10-Mar-10 22:47 

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.