Were there people living when dinosaurs were living?

No, there were no people when dinosaurs were alive. The Flintstones was not a documentary.