Click here to Skip to main content
15,895,777 members
Home / Discussions / C#
   

C#

 
GeneralO-R Mapping tool for .NET Pin
Avaril10-Apr-03 2:31
Avaril10-Apr-03 2:31 
GeneralRe: O-R Mapping tool for .NET Pin
James T. Johnson10-Apr-03 8:20
James T. Johnson10-Apr-03 8:20 
GeneralRe: O-R Mapping tool for .NET Pin
Avaril10-Apr-03 23:51
Avaril10-Apr-03 23:51 
GeneralRe: O-R Mapping tool for .NET Pin
Rocky Moore11-Apr-03 18:25
Rocky Moore11-Apr-03 18:25 
GeneralLine Drawing (joining the dots!!) Pin
Paul Griffin10-Apr-03 1:12
Paul Griffin10-Apr-03 1:12 
GeneralRe: Line Drawing (joining the dots!!) Pin
Philip Fitzsimons10-Apr-03 3:38
Philip Fitzsimons10-Apr-03 3:38 
GeneralRe: Line Drawing (joining the dots!!) Pin
Don_s10-Apr-03 4:18
Don_s10-Apr-03 4:18 
GeneralCounting characters in a buffer Pin
Overfiend10-Apr-03 0:31
Overfiend10-Apr-03 0:31 
Ok im trying to count the characters that i have loaded into a buffer i have set up the following function

void countchars(char *buffer, int *count)
/*Counts the number of characters in the text file */
{
int i,counter;
char cdata;
count['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
do
{
{ for(cdata='A';cdata<='Z';cdata++)
if(buffer[i]==counter[count])
{
count++;
}

i++;
}
}while(buffer[i]!=EOF);
}
I am calling this function using the following code:

countchars(buffer,cdata);
printf("\nDistribution of letters in %s is:",fname);
for (c='A';c<='Z';c++)
{
N=cdata[c]+cdata[tolower(c)];

printf("\n'%c' %4d: ",c,N);
for (i=0;i
GeneralRe: Counting characters in a buffer Pin
TigerNinja_10-Apr-03 2:58
TigerNinja_10-Apr-03 2:58 
GeneralOLE from VB6 into C# Pin
Trevor Godwin9-Apr-03 23:31
sussTrevor Godwin9-Apr-03 23:31 
General.NET 1.1 out Pin
Stephane Rodriguez.9-Apr-03 21:55
Stephane Rodriguez.9-Apr-03 21:55 
GeneralRe: .NET 1.1 out Pin
Paresh Gheewala10-Apr-03 11:02
Paresh Gheewala10-Apr-03 11:02 
GeneralRe: .NET 1.1 out Pin
Chris Austin10-Apr-03 11:17
Chris Austin10-Apr-03 11:17 
GeneralRe: .NET 1.1 out Pin
Kannan Kalyanaraman11-Apr-03 1:25
Kannan Kalyanaraman11-Apr-03 1:25 
GeneralRectangle selection control Pin
Arun Bhalla9-Apr-03 20:00
Arun Bhalla9-Apr-03 20:00 
GeneralRe: Rectangle selection control Pin
Smitha Nishant9-Apr-03 20:09
protectorSmitha Nishant9-Apr-03 20:09 
GeneralRe: Rectangle selection control Pin
Arun Bhalla9-Apr-03 20:13
Arun Bhalla9-Apr-03 20:13 
GeneralXmlTextWriter query Pin
Nish Nishant9-Apr-03 17:00
sitebuilderNish Nishant9-Apr-03 17:00 
GeneralRe: XmlTextWriter query Pin
Arun Bhalla9-Apr-03 19:14
Arun Bhalla9-Apr-03 19:14 
GeneralRe: XmlTextWriter query Pin
Nish Nishant9-Apr-03 20:00
sitebuilderNish Nishant9-Apr-03 20:00 
GeneralRe: XmlTextWriter query Pin
Arun Bhalla9-Apr-03 20:02
Arun Bhalla9-Apr-03 20:02 
GeneralRe: XmlTextWriter query Pin
Nish Nishant9-Apr-03 20:05
sitebuilderNish Nishant9-Apr-03 20:05 
Generalmacros in C# Pin
TigerNinja_9-Apr-03 14:55
TigerNinja_9-Apr-03 14:55 
GeneralRe: macros in C# Pin
TigerNinja_10-Apr-03 2:53
TigerNinja_10-Apr-03 2:53 
GeneralQuestion about multiple threads Pin
Johan de Koning9-Apr-03 10:40
Johan de Koning9-Apr-03 10:40 

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.