Found a bug

Page may contain affiliate links. Please see terms for details.

Fly

Well-Known Member
went walk about in Hampstead and found this little bug any ideas what it is?
 

Attachments

  • IMG_7080s.jpg
    IMG_7080s.jpg
    27.6 KB · Views: 181

Maz

Guru
Funky....Looks like a woodlouse/spider hybrid!
 

PaulB

Legendary Member
Location
Colne
As the Emeritus Professor of Entymology at Oxford University, I can say, without any fear of contradiction, that what you have shown us is, in fact, a bug.
 
As the Emeritus Professor of Entymology at Oxford University, I can say, without any fear of contradiction, that what you have shown us is, in fact, a bug.
Not so, my good professor, sir!
This is a bug:
Code:
for(i=0;i<100;i++);
{
a[i]=0;
}

/* igmc */
 

Yellow Fang

Legendary Member
Location
Reading
Might point out that it doesn't seem a very efficient way of clearing a buffer, and that you risk corrupting other data if you get your indexing wrong.
 

davefb

Guru
and you havent defined the loop variable within the scope, so if it compiled it would be changing the wrong variable.


what would be the better way to clear the buffer? calling memset? bit overkill for a loop of 100 isnt it ;)..


mind you, ITS ALWAYS THE SEMI COLONS!!! either one missing or one too many :smile:
 

asterix

Comrade Member
Location
Limoges or York
As far as I can tell, that is a scorpion and very dangerous. Have you a better picture? And my grandfather actually was an emeritus professor, altho of zoology and at Imperial College. He did specialise in bugs however. I think we still have some.
 
Top Bottom