i'm new here in Arduino and i meet a problem this morning.
the IDE tells me that it can't find neither file nor directory named ESP8266WiFi.h.
latter i downloaded one from Github( thanks the guy uploaded it)
but now i'm puzzled that i don't know where to put the ESP8266.h
You don't put it anywhere. ESP8266WiFi.h is part of the ESP8266 core for Arduino. You would need to install the entire core. ESP8266WiFi.h by itself will do you absolutely no good.
Please provide details of exactly what you're trying to do.
Please post the code using the code tags (Perts profile picture) you will need to use #include <ESP8266WiFi.h> after installing it as well. (Maybe use the full directory, I'm not sure) 请看这个:How to use this forum