Click here to Skip to main content
15,914,905 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# coversion Pin
musefan22-Jan-09 22:24
musefan22-Jan-09 22:24 
AnswerRe: c# coversion Pin
SeMartens22-Jan-09 22:25
SeMartens22-Jan-09 22:25 
GeneralRe: c# coversion Pin
lawrenceinba22-Jan-09 23:20
lawrenceinba22-Jan-09 23:20 
GeneralRe: c# coversion Pin
SeMartens23-Jan-09 0:55
SeMartens23-Jan-09 0:55 
GeneralRe: c# coversion [modified] Pin
lawrenceinba23-Jan-09 1:34
lawrenceinba23-Jan-09 1:34 
GeneralRe: c# coversion Pin
J4amieC23-Jan-09 1:48
J4amieC23-Jan-09 1:48 
GeneralRe: c# coversion Pin
SeMartens23-Jan-09 1:52
SeMartens23-Jan-09 1:52 
GeneralRe: c# coversion Pin
lawrenceinba23-Jan-09 1:55
lawrenceinba23-Jan-09 1:55 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace genAddrTokenVector
{
class Program
{
public void input()
{


int tokenIndex = 0;

//int cntTokens = 0;
//int iSymbol = -1;
//int prevDictSymbol = -1;

//string a;
//Console.WriteLine("ENTER VALID ADDRESS: "); //gets input
//a = Console.ReadLine();

//converting the address to upper case

//a = a.ToUpper();
// Console.WriteLine(a );
char[] strToken = new char[512];
char[] b = new char[15];
b[0] = 'p';
b[1] = 'l';
b[2] = 'o';
b[3] = 't';
b[4] = '.';
b[5] = '4';
b[6] = '5';
b[7] = ';';
b[8] = 'x';
b[9] = 'x';
b[10] = ';';
b[11] = 'b';
b[12] = '&';
b[13] = 'd';
b[14] = ',';

// string s = new string(b);

//Console.WriteLine(b );






while (b[0] != '\0' )
{
tokenIndex = 0;
while ((b[0] != ' ') && (b[0] != ',') && (b[0] != ';')
&& (b[0] != '#') && (b[0] != '\0')
&& (b[0] != '&') && (b[0] != '-'))


Console.WriteLine(b );

strToken[tokenIndex++] = b[0];
b ++;



}

strToken[tokenIndex] = '\0';
}

class main
{
static void Main(string[] args)
{
Program s = new Program();
s.input();

}
}}}



this is my coverted code... it has some errors as well

the quieter u become more u hear

GeneralRe: c# coversion Pin
SeMartens23-Jan-09 3:05
SeMartens23-Jan-09 3:05 
GeneralRe: c# coversion Pin
lawrenceinba23-Jan-09 5:20
lawrenceinba23-Jan-09 5:20 
GeneralRe: c# coversion Pin
MidwestLimey23-Jan-09 6:12
professionalMidwestLimey23-Jan-09 6:12 
GeneralRe: c# coversion Pin
lawrenceinba23-Jan-09 6:19
lawrenceinba23-Jan-09 6:19 
GeneralRe: c# coversion Pin
SeMartens23-Jan-09 8:54
SeMartens23-Jan-09 8:54 
GeneralRe: c# coversion Pin
lawrenceinba23-Jan-09 14:04
lawrenceinba23-Jan-09 14:04 
GeneralRe: c# coversion Pin
SeMartens25-Jan-09 0:53
SeMartens25-Jan-09 0:53 
AnswerRe: c# coversion Pin
Aman Bhullar22-Jan-09 23:33
Aman Bhullar22-Jan-09 23:33 
QuestionPer Pixel Alpha Blend on panel and button Pin
Xmen Real 22-Jan-09 21:54
professional Xmen Real 22-Jan-09 21:54 
AnswerRe: Per Pixel Alpha Blend on panel and button Pin
Ennis Ray Lynch, Jr.23-Jan-09 2:21
Ennis Ray Lynch, Jr.23-Jan-09 2:21 
GeneralRe: Per Pixel Alpha Blend on panel and button Pin
Xmen Real 23-Jan-09 2:27
professional Xmen Real 23-Jan-09 2:27 
QuestionHow can i use yahoo group api like YMass for searching and finding there email id's. [modified] Pin
prabhatmishra22-Jan-09 19:36
prabhatmishra22-Jan-09 19:36 
AnswerRe: How can i use yahoo group api like YMass for searching and finding there email id's. Pin
Ashfield22-Jan-09 21:42
Ashfield22-Jan-09 21:42 
GeneralRe: How can i use yahoo group api like YMass for searching and finding there email id's. Pin
inzibharti23-Jan-09 1:24
inzibharti23-Jan-09 1:24 
GeneralRe: How can i use yahoo group api like YMass for searching and finding there email id's. Pin
Ashfield23-Jan-09 1:40
Ashfield23-Jan-09 1:40 
QuestionHow to set hyperlinks to strings Pin
DJ24522-Jan-09 19:29
DJ24522-Jan-09 19:29 
AnswerRe: How to set hyperlinks to strings Pin
Naveed72722-Jan-09 20:47
Naveed72722-Jan-09 20: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.