Click here to Skip to main content
15,913,225 members
Home / Discussions / C#
   

C#

 
GeneralRe: unable to spot the error Pin
lawrenceinba24-Jan-09 1:44
lawrenceinba24-Jan-09 1:44 
GeneralRe: unable to spot the error Pin
User 665824-Jan-09 1:52
User 665824-Jan-09 1:52 
GeneralRe: unable to spot the error Pin
NikoTanghe26-Jan-09 3:55
NikoTanghe26-Jan-09 3:55 
AnswerRe: unable to spot the error Pin
#realJSOP24-Jan-09 2:27
professional#realJSOP24-Jan-09 2:27 
AnswerRe: unable to spot the error Pin
#realJSOP24-Jan-09 2:37
professional#realJSOP24-Jan-09 2:37 
AnswerRe: unable to spot the error Pin
#realJSOP24-Jan-09 3:02
professional#realJSOP24-Jan-09 3:02 
GeneralRe: unable to spot the error Pin
CARPETBURNER26-Jan-09 1:33
CARPETBURNER26-Jan-09 1:33 
AnswerRe: unable to spot the error [modified] Pin
WebMaster26-Jan-09 4:38
WebMaster26-Jan-09 4:38 
Well in amongst all the flames and elitist comments. I'll assume your a complete n00b and help you out a bit. but I gotta be honest, it was glaringly obvious.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class MainClass
{
int tokenindex = 0;
int cntTokens = 0;
int iSymbol = -1;
int prevDictSymbol = -1;
char[] strToken = new char[512];
int i=0;
string[] arr = { "Hello", "World" };

public static void Main()
{
while ((arr[0] != null)&(arr[0]!= ' ')&&amp(arr[0] != ',')&(arr[0] != ';')&&(arr[0] != '/')&&(arr[0] != '#')&&(arr[0] != '\0')&&(arr[0] != '&')&&(arr[0] != '-'))
{
tokenindex = 0;
strToken[tokenindex++] = arr[0];
arr++;
strToken[tokenindex] = '\0';
}

Console.WriteLine(" The Token is:", strToken);
Console.WriteLine("The Length of strToken", strToken);

}
}

aaarghhh! too many ands. That's as much am I'm going to do, the rest is up to you.

<div class="ForumMod">modified on Monday, January 26, 2009 2:51 PM</div>
QuestionCan any one help plz? Pin
Member 284246824-Jan-09 0:18
Member 284246824-Jan-09 0:18 
AnswerRe: Can any one help plz? Pin
Dave Kreskowiak24-Jan-09 4:54
mveDave Kreskowiak24-Jan-09 4:54 
Question[Message Deleted] Pin
hkjghkj123-Jan-09 23:49
hkjghkj123-Jan-09 23:49 
AnswerRe: Image with Ellipse Path Pin
DaveyM6924-Jan-09 0:32
professionalDaveyM6924-Jan-09 0:32 
Question'dropdown listbox' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value Pin
dhavaldpatel23-Jan-09 23:00
dhavaldpatel23-Jan-09 23:00 
AnswerRe: 'dropdown listbox' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value Pin
WebMaster26-Jan-09 4:52
WebMaster26-Jan-09 4:52 
Questionsome C# question Pin
E_Gold23-Jan-09 22:47
E_Gold23-Jan-09 22:47 
AnswerRe: some C# question Pin
N a v a n e e t h23-Jan-09 23:14
N a v a n e e t h23-Jan-09 23:14 
QuestionSecurity information in Web Pin
trinm198723-Jan-09 22:29
trinm198723-Jan-09 22:29 
QuestionSemi-Transparent icons in ListView Pin
Ankit Rajpoot23-Jan-09 21:28
Ankit Rajpoot23-Jan-09 21:28 
AnswerRe: Semi-Transparent icons in ListView Pin
DaveyM6924-Jan-09 2:20
professionalDaveyM6924-Jan-09 2:20 
GeneralRe: Semi-Transparent icons in ListView Pin
Ankit Rajpoot24-Jan-09 3:29
Ankit Rajpoot24-Jan-09 3:29 
GeneralRe: Semi-Transparent icons in ListView Pin
DaveyM6924-Jan-09 4:48
professionalDaveyM6924-Jan-09 4:48 
GeneralRe: Semi-Transparent icons in ListView Pin
DaveyM6924-Jan-09 4:57
professionalDaveyM6924-Jan-09 4:57 
GeneralSemi-Transparent icons in ListView (Yoooooohooooooo got it working now) Pin
Ankit Rajpoot24-Jan-09 4:51
Ankit Rajpoot24-Jan-09 4:51 
GeneralRe: Semi-Transparent icons in ListView (Yoooooohooooooo got it working now) Pin
DaveyM6924-Jan-09 5:01
professionalDaveyM6924-Jan-09 5:01 
GeneralRe: Semi-Transparent icons in ListView (Yoooooohooooooo got it working now) Pin
DaveyM6924-Jan-09 5:14
professionalDaveyM6924-Jan-09 5: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.