Click here to Skip to main content
15,921,884 members
Home / Discussions / C#
   

C#

 
AnswerRe: datagrideview and data base Pin
half-life11-Jul-08 11:47
half-life11-Jul-08 11:47 
QuestionFieldInfo.SetValue on nested types Pin
FireFly_7411-Jul-08 2:56
FireFly_7411-Jul-08 2:56 
QuestionHow to Create a Global Variable Pin
Admin88711-Jul-08 2:48
Admin88711-Jul-08 2:48 
AnswerRe: How to Create a Global Variable Pin
carbon_golem11-Jul-08 2:58
carbon_golem11-Jul-08 2:58 
AnswerRe: How to Create a Global Variable Pin
Thomas Stockwell11-Jul-08 3:56
professionalThomas Stockwell11-Jul-08 3:56 
Questionhow to call matlab command from c#? such as figure; plot Pin
Seraph_summer11-Jul-08 2:41
Seraph_summer11-Jul-08 2:41 
QuestionIIS7, provisiong sample and Quota control Pin
SilverAdder11-Jul-08 2:33
SilverAdder11-Jul-08 2:33 
QuestionConvert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 2:32
professionalDaveyM6911-Jul-08 2:32 
AnswerRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
Luc Pattyn11-Jul-08 3:05
sitebuilderLuc Pattyn11-Jul-08 3:05 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 3:28
professionalDaveyM6911-Jul-08 3:28 
AnswerRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
User 665811-Jul-08 3:08
User 665811-Jul-08 3:08 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 3:36
professionalDaveyM6911-Jul-08 3:36 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 4:19
professionalDaveyM6911-Jul-08 4:19 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
User 665811-Jul-08 6:38
User 665811-Jul-08 6:38 
AnswerRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
carbon_golem11-Jul-08 3:15
carbon_golem11-Jul-08 3:15 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 3:39
professionalDaveyM6911-Jul-08 3:39 
AnswerMessage Closed Pin
19-Nov-12 19:11
professional0xfeeddeadbeef19-Nov-12 19:11 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6919-Nov-12 19:15
professionalDaveyM6919-Nov-12 19:15 
RantRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
0xfeeddeadbeef20-Nov-12 5:43
professional0xfeeddeadbeef20-Nov-12 5:43 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6920-Nov-12 8:26
professionalDaveyM6920-Nov-12 8:26 
QuestionWord Frequency Pin
flowingsun11-Jul-08 2:13
flowingsun11-Jul-08 2:13 
AnswerRe: Word Frequency Pin
carbon_golem11-Jul-08 2:31
carbon_golem11-Jul-08 2:31 
AnswerRe: Word Frequency Pin
Thomas Stockwell11-Jul-08 3:58
professionalThomas Stockwell11-Jul-08 3:58 
AnswerRe: Word Frequency Pin
Guffa11-Jul-08 6:57
Guffa11-Jul-08 6:57 
AnswerRe: Word Frequency Pin
Alan Balkany11-Jul-08 9:38
Alan Balkany11-Jul-08 9:38 
There are three steps:

1. Write a function that goes through your sentence and isolates individual words.

2. For each word, check if it's in a hash table that maps strings to integers (counts). If it is, increment that word's integer and save it in the hash table's entry for that word. If it isn't, insert the word into the hash table with a one count.

3. Go through the hash table and print out each word and the integer associated with it.

You have to write the code yourself, though.

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.