You should try to go to a 4 year school... although you can do your requirements at a community college, some dental schools will prefer that you do most of them at a 4 year college. Also...a 4 year college will probably prepare you a bit better for dental school than a community college.
If you just came out of high school...I don't know how easy it would be to go straight into dental school...unless you can find one that takes people right out of high school and allows you to kind of do undergrad and dental school at once. I assume that for that you must have had excellent grades in high school... But not sure.
good luck.