Beginning Arduino project 19 issues(solved)

when a library is needed in a sketch, do you have to import the library first or does the IDE do it automatically..

Yes, you do. No, it doesn't.