Posted by Hal Bonnin on 2001-04-06
#define DictionarySize 200
#define DictionaryStart 0
char* FindCode(char* DotC);
char* FindCode(char* DotC)
{
for(int z = DictionaryStart; z < DictionarySize; z++)
{
if( !strcmp(Dictionary[z], Entry ))
{
return Dictionary[z];
}
}
}
----- Original Message -----
From: "Mark Burford" <mrb199@xxx.xxxxx.xx.xx>
To: <triangle@xxxxxxx.xxx>
Sent: Friday, April 06, 2001 10:14 AM
Subject: passing arrays
> Hey people,
>
> In C, I have declared a largish array. I would like to pass this array to
> a function using a pointer. Please tell me how to do this as I know it to
> be simple but I keep going round in circles getting the pointer stuff
tight
>
Previous post | Next post | Timeline | Home