I wrote a big program in pike, and suddenly it gives me an error it didn't give me before:
bad argument 1 to sizeof().
Does someone know the problem? what can I do? it worked before. That's the code:
int main()
{
string path;
path=Stdio.Readline()->read("enter a path");
add_module_path(path);
array fileArr=get_dir(path);
int i=0;
int j=0;
while (j != sizeof(fileArr))
{
// ...
}
}